Closed
Bug 936068
Opened 12 years ago
Closed 12 years ago
packing addons with -o using current sdk (1.15?) breaks in Firefox 26 (beta)
Categories
(Add-on SDK Graveyard :: General, defect)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: zombie, Assigned: zombie)
Details
Attachments
(1 file)
it seems the new ES6 generator syntax: function* is used in a couple of files. here is the commit that introduced the offending code:
https://github.com/mozilla/addon-sdk/commit/1910af733de7bd7ecec815aa2cf86947c21e1925
but since this only happens with the -o switch it might be the case of "an unsupported combination of Fx and SDK libraries versions"..
I think this is just going to be a mismatched combination until Firefox catches up. The master branch of the SDK tracks and only really supports the current Nightly builds of Firefox.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
| Assignee | ||
Comment 2•12 years ago
|
||
i know this was WONTFIXed, but:
1) the fix is very simple: just use old style generator functions in two places (since they don't use StopIteration nor 'return', semantics are the same)
2) the master branch has moved to 1.15b, probably to be released soon (alongside Firefox 26?), which would make two products released at the same time not working well together.
Attachment #831669 -
Flags: review?(dtownsend+bugmail)
Updated•12 years ago
|
Attachment #831669 -
Flags: review?(dtownsend+bugmail) → review+
Comment 3•12 years ago
|
||
Commits pushed to master at https://github.com/mozilla/addon-sdk
https://github.com/mozilla/addon-sdk/commit/1aab173987fdd4adefebe3cbf70aee34f53a6c57
bug 936068 - fix packing with -o to work in Fx26
very simple change to use old mozilla-style generator functions
https://github.com/mozilla/addon-sdk/commit/2fd05f3a20be2ca4be9019e032f5936e8e9cde14
Merge pull request #1290 from zombie/936068-es6-generators
bug 936068: Use old-style generators to work in current Firefox release. r=Mossop
Updated•12 years ago
|
Resolution: WONTFIX → FIXED
Updated•12 years ago
|
Assignee: nobody → tomica+amo
Comment 4•12 years ago
|
||
Commit pushed to master at https://github.com/mozilla/addon-sdk
https://github.com/mozilla/addon-sdk/commit/a0671f200de80422b1c83492b046431276183a5d
Revert "bug 936068 - fix packing with -o to work in Fx26"
This reverts commit 1aab173987fdd4adefebe3cbf70aee34f53a6c57.
Comment 5•12 years ago
|
||
Causing some test failures that use iterators, reverting back out for now
Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: FIXED → ---
| Assignee | ||
Comment 6•12 years ago
|
||
this was discussed yesterday: if it was any more complicated than my proposed fix, this would be a WONTFIX.
it turned out my "fix" was bad, it would be more complicated, so i'm closing the bug.
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•