Closed
Bug 1223452
Opened 9 years ago
Closed 9 years ago
avoid Cu.importGlobalProperties in devtools
Categories
(DevTools :: General, defect)
DevTools
General
Tracking
(firefox45 fixed)
RESOLVED
FIXED
Firefox 45
Tracking | Status | |
---|---|---|
firefox45 | --- | fixed |
People
(Reporter: tromey, Assigned: tromey)
References
Details
Attachments
(1 file, 1 obsolete file)
7.40 KB,
patch
|
tromey
:
review+
|
Details | Diff | Splinter Review |
Bug 1216234 had some issues that turned out to be that, at the end of a require chain, one file did Cu.importGlobalProperties -- and if this wasn't run, the code would fail. It's better to avoid importGlobalProperties and instead make special modules in Loader.jsm that can be required. This will avoid confusing results like that.
Assignee | ||
Comment 1•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → ttromey
Assignee | ||
Updated•9 years ago
|
Attachment #8685555 -
Flags: review?(poirot.alex)
Comment 2•9 years ago
|
||
Comment on attachment 8685555 [details] [diff] [review] avoid Cu.importGlobalProperties Review of attachment 8685555 [details] [diff] [review]: ----------------------------------------------------------------- Note that Sandboxes have a significant memory cost. I think it's ok, but we should share a common sandbox if we start doing this for new symbols.
Attachment #8685555 -
Flags: review?(poirot.alex) → review+
Assignee | ||
Comment 3•9 years ago
|
||
Rebased; added r= to commit.
Attachment #8685555 -
Attachment is obsolete: true
Assignee | ||
Updated•9 years ago
|
Attachment #8688050 -
Flags: review+
Assignee | ||
Comment 4•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=57069d70a8b6
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Comment 6•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/1497b7791bda
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox45:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 45
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•