Closed
Bug 611438
Opened 15 years ago
Closed 14 years ago
Parent loader instance should be accessed via require('chrome').parentLoader instead of require('parent-loader')
Categories
(Add-on SDK Graveyard :: General, defect, P3)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
Future
People
(Reporter: avarma, Assigned: warner)
Details
Attachments
(1 file)
|
2.15 KB,
patch
|
irakli
:
review+
|
Details | Diff | Splinter Review |
Since having access to parent-loader requires the same authority as chrome, we might as well just make it an export of the chrome module.
Updated•15 years ago
|
OS: Mac OS X → All
Priority: -- → P3
Hardware: x86 → All
Target Milestone: --- → Future
Whiteboard: [triage:followup]
Comment 1•14 years ago
|
||
Brian: what do you think we should do here?
| Assignee | ||
Comment 2•14 years ago
|
||
I think we should do what the title says: make it an undocumented property of require("chrome"). Not sure how much work it represents, but I'll take a look.
Assignee: nobody → warner-bugzilla
| Assignee | ||
Comment 3•14 years ago
|
||
Oh, actually it's easier than I thought: the only thing that uses parent-module is e10s.js, which is unused, likely to be deleted any day now, and only uses parent-module as a fallback anyways.
This patch just deletes all references to parent-loader.
Attachment #554226 -
Flags: review?(rFobic)
Comment 4•14 years ago
|
||
Comment on attachment 554226 [details] [diff] [review]
remove all uses of the "parent-loader" module
Review of attachment 554226 [details] [diff] [review]:
-----------------------------------------------------------------
That's surprising, I thought it was used in tests r+ assuming all tests pass.
Attachment #554226 -
Flags: review?(rFobic) → review+
| Assignee | ||
Comment 5•14 years ago
|
||
I was surprised too. In 1.0 it was only used in e10s.js. In 0.9 it was also used in packages/jetpack-core/lib/unit-test.js and test-harness/lib/harness.js, but those were removed by some of Atul's e10s work last october/november.
Landed in https://github.com/mozilla/addon-sdk/commit/ccdbd667dde14f9c7b11c7bfdee89dea2310182f . Thanks!
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [triage:followup]
You need to log in
before you can comment on or make changes to this bug.
Description
•