Thanks, bug 1150859 only covers ./browser/. Is this a done deal which we want to get rid of #ifdef in all JS code everywhere?
(My particular interest would be obviously ./dom/ and ./b2g/) On Mon, Nov 30, 2015 at 5:44 PM, Gijs Kruitbosch <gijskruitbo...@gmail.com> wrote: > Yes. See bug 1150859 and friends. > > ~ Gijs > > On 30/11/2015 09:05, Tim Guan-tin Chien wrote: > >> The Gecko JavaScript is also littered with #ifdef and # is really not a >> token for comment in JS... is there any plan to migrate that away since >> there is ESLint present? >> >> On Sun, Nov 29, 2015 at 10:37 PM, Vivien Nicolas <vnico...@mozilla.com> >> wrote: >> >> On Sun, Nov 29, 2015 at 2:30 PM, David Bruant <bruan...@gmail.com> wrote: >>> >>> 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). >>>> >>>> >>> What about .jsm modules ? Or is that not really considered ? >>> >>> I have been told that ES6 modules may help to solve some of the problems >>> covered by .jsm but I don't see how you can create a ES6 module that is >>> can >>> be accessed from multiple js context from the same origin. Mostly >>> interested as it would be nice to be able to write a module once and >>> share >>> it between multiple tabs instead of having to reload the same JS script >>> for >>> all similar tabs, like all the bugzilla tabs many of us have open for >>> example. >>> _______________________________________________ >>> dev-platform mailing list >>> dev-platform@lists.mozilla.org >>> https://lists.mozilla.org/listinfo/dev-platform >>> >>> > _______________________________________________ > dev-platform mailing list > dev-platform@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-platform > _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform