[Bug 1648649] [NEW] Ubufox is broken in Firefox Nightly, due to using no-longer-supported "for each" syntax. Error console now shows "SyntaxError: missing ( after for UpdateNotifier.js:217:8"
Daniel Holbert
dholbert+launchpad at gmail.com
Thu Dec 8 23:05:11 UTC 2016
Public bug reported:
Firefox Nightly (53) no longer supports the non-standard "for each"
looping construct, as of
https://bugzilla.mozilla.org/show_bug.cgi?id=1293305
Unfortunately, ubufox uses this construct, which causes problems as shown in the error console at startup:
> SyntaxError: missing ( after for UpdateNotifier.js:217:8
> SyntaxError: missing ( after for utils.jsm:217:8
Fortunately, it's easy to fix! Just replace code like this...
> for each (let k in [...])
...with code like this:
> for (let k of [...])
Note: I also filed this in Mozilla's bug-tracker (under Tech Evangelism | Add-ons) here:
https://bugzilla.mozilla.org/show_bug.cgi?id=1322551
** Affects: ubufox (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to ubufox in Ubuntu.
https://bugs.launchpad.net/bugs/1648649
Title:
Ubufox is broken in Firefox Nightly, due to using no-longer-supported
"for each" syntax. Error console now shows "SyntaxError: missing (
after for UpdateNotifier.js:217:8"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubufox/+bug/1648649/+subscriptions
More information about the Ubuntu-mozillateam-bugs
mailing list