Closed Bug 1322551 Opened 8 years ago Closed 6 years ago

Ubuntu's bundled firefox extension is broken due to using no-longer-supported "for each" syntax. Error console now shows "SyntaxError: missing ( after for UpdateNotifier.js:217:8"

Categories

(WebExtensions :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: dholbert, Unassigned)

References

Details

STR:
 1. Create a Firefox profile with Ubuntu's bundled Firefox build:
     mkdir /tmp/foo55; /usr/bin/firefox -no-remote -profile /tmp/foo55

 2. Quit.

 3. Start Firefox Nightly with that same profile:
     /path/to/Nightly/firefox -no-remote -profile /tmp/foo55

 4. Check Browser Console (Ctrl Shift J), and filter by "SyntaxError" if you like.

ACTUAL RESULTS: These errors are spammed for Ubufox JS files:
> SyntaxError: missing ( after for     UpdateNotifier.js:217:8
> SyntaxError: missing ( after for     utils.jsm:217:8

EXPECTED RESULTS: No such errors.


These point to lines of code with "for each" construct, so this presumably regressed from bug 1293305, and we should be sure to get this fixed in Ubufox before bug 1293305 makes it to release.
Summary: Ubuntu's bundled firefox extension is broken due to using deprecated "for each", with "SyntaxError: missing ( after for UpdateNotifier.js:217:8" → Ubuntu's bundled firefox extension is broken due to using no-longer-supported "for each". Error console now shows "SyntaxError: missing ( after for UpdateNotifier.js:217:8"
I reported this in Launchpad as https://bugs.launchpad.net/ubuntu/+source/ubufox/+bug/1648649
Summary: Ubuntu's bundled firefox extension is broken due to using no-longer-supported "for each". Error console now shows "SyntaxError: missing ( after for UpdateNotifier.js:217:8" → Ubuntu's bundled firefox extension is broken due to using no-longer-supported "for each" syntax. Error console now shows "SyntaxError: missing ( after for UpdateNotifier.js:217:8"
(Chris Coulson replied on the launchpad bug, to say he's going to take a look at this in a few weeks when he's back from vacation: https://bugs.launchpad.net/ubuntu/+source/ubufox/+bug/1648649/comments/3 )
Mass-closing bugs that relate to legacy versions of add-ons or are otherwise no longer worth tracking. Please comment if you think this bug should be reopened.

Sorry for the bugspam. Made you look, though!
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Component: Add-ons → General
Product: Tech Evangelism → WebExtensions
You need to log in before you can comment on or make changes to this bug.