Closed
Bug 1608274
Opened 5 years ago
Closed 2 years ago
JSMs shouldn't call XPCOMUtils.defineLazyPreferenceGetter on the global `this`
Categories
(Firefox :: General, task, P5)
Firefox
General
Tracking
()
RESOLVED
DUPLICATE
of bug 1608279
People
(Reporter: bgrins, Unassigned)
References
(Blocks 1 open bug)
Details
This won't work in ES Modules which don't have a global this
object.
This is done around 100 times in m-c.
One alternative would be to make an object like LazyPrefs
, call on XPCOMUtils.defineLazyPreferenceGetter on that, and then update references to not rely on it existing in the global scope.
Reporter | ||
Updated•5 years ago
|
Priority: -- → P5
Updated•5 years ago
|
Assignee: nobody → gandalf
Status: NEW → ASSIGNED
Comment 1•5 years ago
|
||
Updated•5 years ago
|
Assignee: gandalf → nobody
Status: ASSIGNED → NEW
Updated•2 years ago
|
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•