Great, thanks Chris! Note: I am not a JS expert, so my suggested replacement in comment 0 might not be exactly right for all cases of this pattern. (I believe it's correct for code that's iterating over a JS array, but the semantics might be slightly different for other structures, e.g. whether you're iterating over keys vs. values, etc. This definitely merits a sanity-check test (e.g. logging each iterated entry before/after the change) to be sure the conversion is valid.)
-- 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