Hi,

Just a drive-by comment to inform folks that there is an effort to transition Mozilla JavaScript codebase to standard JavaScript.
Main bugs is: https://bugzilla.mozilla.org/show_bug.cgi?id=867617

And https://bugzilla.mozilla.org/show_bug.cgi?id=1103158 is about removing non-standard features from SpiderMonkey. Of course this can rarely be done right away and most often requires dependent bugs to move code to standard ECMAScript (with a period with warnings about the usage of the non-standard feature).

Le 27/11/2015 23:53, Dave Townsend a écrit :
We also know that some of our JS syntax isn't supported by ESLint. Array
generators look like they might not be standardized anyway so please
switch them to Array.map.
If anyone notices such cases and don't necessarily have the time to fix them right away, please make a bug that blocks
https://bugzilla.mozilla.org/show_bug.cgi?id=1220564

...and of course, you meant Array.prototype.map given Array.map is non-standard and meant to disappear ;-)
https://bugzilla.mozilla.org/show_bug.cgi?id=1222547

For conditional catch expressions we may
want to add support to eslint somehow but for now any of those cases
will just have to be ignored.
I created https://bugzilla.mozilla.org/show_bug.cgi?id=1228841 for eventual removal of this non-standard feature.
Adding support to ESLint might be a sensible choice in the meantime indeed.

Davud
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to