Closed
Bug 672087
Opened 14 years ago
Closed 14 years ago
Use explicit require statements in SDK modules.
Categories
(Add-on SDK Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: irakli, Assigned: irakli)
Details
Attachments
(1 file, 1 obsolete file)
Since module search depends on dependencies SDK packages have to use explicit require to avoid errors caused by search.
| Assignee | ||
Comment 1•14 years ago
|
||
Pointer to Github pull-request
| Assignee | ||
Updated•14 years ago
|
Attachment #546363 -
Flags: review?(warner-bugzilla)
| Assignee | ||
Updated•14 years ago
|
Assignee: nobody → rFobic
Status: NEW → ASSIGNED
Comment 2•14 years ago
|
||
Comment on attachment 546363 [details]
Pointer to Github pull request: https://github.com/mozilla/addon-sdk/pull/213
looks good to me, although apparently it needs some merge work to apply cleanly to current trunk. Assuming that work doesn't break anything, I'm r+.
Attachment #546363 -
Flags: review?(warner-bugzilla) → review+
| Assignee | ||
Comment 3•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 4•14 years ago
|
||
This landing broke tests on debug builds with exceptions like:
ReferenceError: assignment to undeclared variable name (resource://gre/modules/XPIProvider.jsm -> file:///tmp/tmpt1_V80.mozrunner/extensions/xulapp@toolness.com/bootstrap.js -> file:///tmp/tmpt1_V80.mozrunner/extensions/xulapp@toolness.com/components/harness.js:170)
stack:
buildLoader()@resource://gre/modules/XPIProvider.jsm -> file:///tmp/tmpt1_V80.mozrunner/extensions/xulapp@toolness.com/bootstrap.js -> file:///tmp/tmpt1_V80.mozrunner/extensions/xulapp@toolness.com/components/harness.js:170
()@resource://gre/modules/XPIProvider.jsm -> file:///tmp/tmpt1_V80.mozrunner/extensions/xulapp@toolness.com/bootstrap.js -> file:///tmp/tmpt1_V80.mozrunner/extensions/xulapp@toolness.com/components/harness.js:281
Harness_load("startup")@resource://gre/modules/XPIProvider.jsm -> file:///tmp/tmpt1_V80.mozrunner/extensions/xulapp@toolness.com/bootstrap.js -> file:///tmp/tmpt1_V80.mozrunner/extensions/xulapp@toolness.com/components/harness.js:309
Harness_observe(null,"sessionstore-windows-restored","")@resource://gre/modules/XPIProvider.jsm -> file:///tmp/tmpt1_V80.mozrunner/extensions/xulapp@toolness.com/bootstrap.js -> file:///tmp/tmpt1_V80.mozrunner/extensions/xulapp@toolness.com/components/harness.js:374
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 5•14 years ago
|
||
Here's a fix for at least some of the exceptions, although it might not be complete.
Attachment #547538 -
Flags: review?(rFobic)
Comment 6•14 years ago
|
||
Comment on attachment 547538 [details] [diff] [review]
fix for some or all of the exceptions
Erm, wrong bug; never mind.
Attachment #547538 -
Attachment is obsolete: true
Attachment #547538 -
Flags: review?(rFobic)
Updated•14 years ago
|
Status: REOPENED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•