Closed
Bug 773003
Opened 14 years ago
Closed 14 years ago
Validator needs a Spidermonkey upgrade
Categories
(addons.mozilla.org Graveyard :: Add-on Validation, defect)
addons.mozilla.org Graveyard
Add-on Validation
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: kmag, Assigned: basta)
References
Details
(Whiteboard: [ReviewTeam])
Current versions of Firefox support a newer version of JS than the validator, including for-of loops. The validator needs to be updated to support these. At the least, they need to not generate a compile-time error.
| Reporter | ||
Updated•14 years ago
|
Whiteboard: [ReviewTeam]
| Assignee | ||
Updated•14 years ago
|
Assignee: nobody → mattbasta
| Assignee | ||
Comment 1•14 years ago
|
||
This has to happen in two parts:
The first part is physically upgrading Spidermonkey, which presumably needs to be handled by IT.
The second part is adding mechanisms to the validator to recognize the new ES constructs.
The first part will make the errors go away. The second part will allow the validator to interpret the new constructs and perform analysis on them.
Wil: can you talk to IT about getting this in motion or find out what direction we should go in for this?
| Reporter | ||
Comment 2•14 years ago
|
||
The Spidermonkey upgrade doesn't seem to have helped. We're still getting syntax errors for for-of statements on prod: https://addons.mozilla.org/en-US/firefox/files/browse/159639/file/chrome/jsterm.js#L249
Maybe the version they upgraded to is not new enough?
| Assignee | ||
Comment 3•14 years ago
|
||
It's likely that the standalone version of Spidermonkey doesn't yet support the same constructs that Firefox supports.
| Reporter | ||
Comment 4•14 years ago
|
||
If it's built from mozilla-central, it should. We also might need to add a version flag. The required arguments seem to change more or less at random between Spidermonkey releases, so I'm not sure either way.
| Reporter | ||
Comment 5•14 years ago
|
||
Bumping priority. for-of has been showing up in a lot of add-ons lately, and any files that use it don't get validated.
Severity: normal → major
| Assignee | ||
Comment 6•14 years ago
|
||
Should fix the E4X tracebacks:
https://github.com/mozilla/amo-validator/commit/f3b588eb997b67c8e972a0d2f2f271c9596f166d
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•