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 Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to