Closed Bug 1102107 Opened 10 years ago Closed 9 years ago

require("toolkit/loader") throws

Categories

(Add-on SDK Graveyard :: General, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: irakli, Assigned: irakli)

References

Details

Attachments

(2 files)

Attempt to require("toolkit/loader") currently throws exception. Expected behavior would be to return same loader as you get from Cu.import
Attached file Fix V1
Attachment #8525833 - Flags: review?(evold)
Comment on attachment 8525833 [details] [review]
Fix V1

One nit, looks good though
Attachment #8525833 - Flags: review?(evold) → review+
Commit pushed to master at https://github.com/mozilla/addon-sdk

https://github.com/mozilla/addon-sdk/commit/1a0010e5cd93177a5d471f333bdd6fd3dc6a6f09
Merge pull request #1723 from Gozala/bug/require-toolkit-loader

Bug 1102107 - fix require("toolkit/loader") r=@jsantell
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Assignee: nobody → rFobic
This either needs to be reverted or fixed in order for us to do an uplift, fixing it is probably easier than reverting, since reverting breaks other resolved bugs.
Status: RESOLVED → REOPENED
Flags: needinfo?(rFobic)
Resolution: FIXED → ---
See Bug 1122978 comment 9 and Bug 1120427 comment 8 for more information about the issue here.
Priority: -- → P1
Flags: needinfo?(rFobic)
Attachment #8554026 - Flags: review?(evold)
Comment on attachment 8554026 [details] [review]
Fix for the loader that should work in b2g setup

It looks like tabs are being used instead of spaces ina few places and that is making these files hard to read.

Also we should use the sdk/net/url readURI function instead of making a function to do the same work.

I'd like to see some successful results on try before landing.
Attachment #8554026 - Flags: review?(evold) → review-
Comment on attachment 8554026 [details] [review]
Fix for the loader that should work in b2g setup

I have address review comments, so re-requesting review and pushing again to try
https://treeherder.mozilla.org/#/jobs?repo=try&revision=77bada96b050
Attachment #8554026 - Flags: review- → review?(evold)
I made a mistake so I had to cancel try build and re-trigger new one:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=54980fb0a958
Attachment #8554026 - Flags: review?(evold) → review+
Commits pushed to master at https://github.com/mozilla/addon-sdk

https://github.com/mozilla/addon-sdk/commit/acb0c8009444205d212471bce95f89d3578a1904
Fix regression caused by Bug 1102107 in b2g context.

https://github.com/mozilla/addon-sdk/commit/2b5fe97a66bf976b8a4ad608120c658713af4dad
Merge pull request #1832 from Gozala/loader

Bug 1102107 - Fix issues introduced by loader changes in b2g settings r=@erikvold
Status: REOPENED → RESOLVED
Closed: 10 years ago9 years ago
OS: Mac OS X → All
Hardware: x86 → All
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: