Skip to content

Commit 41cbd08

Browse files
committed
Remove redundant 'privateData' property from storage.newMap() and storage.newArray()
1 parent 931905a commit 41cbd08

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

common/content/events.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const Events = Module("events", {
2424

2525
this.sessionListeners = [];
2626

27-
this._macros = storage.newMap("macros", { store: true, privateData: true });
27+
this._macros = storage.newMap("macros", { store: true });
2828

2929
// NOTE: the order of ["Esc", "Escape"] or ["Escape", "Esc"]
3030
// matters, so use that string as the first item, that you

common/content/marks.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ const Marks = Module("marks", {
1111
requires: ["config", "storage"],
1212

1313
init: function init() {
14-
this._localMarks = storage.newMap("local-marks", { store: true, privateData: true });
15-
this._urlMarks = storage.newMap("url-marks", { store: false, privateData: true });
14+
this._localMarks = storage.newMap("local-marks", { store: true });
15+
this._urlMarks = storage.newMap("url-marks", { store: false });
1616

1717
this._pendingJumps = [];
1818
},

common/content/quickmarks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const QuickMarks = Module("quickmarks", {
1212
requires: ["config", "storage"],
1313

1414
init: function () {
15-
this._qmarks = storage.newMap("quickmarks", { store: true, privateData: true });
15+
this._qmarks = storage.newMap("quickmarks", { store: true });
1616
},
1717

1818
/**

0 commit comments

Comments
 (0)