On Wed, Apr 29, 2015 at 9:05 AM, Andrew Sutherland <asutherl...@asutherland.org> wrote: > E) B2G-Specific: > E1) Set "dom.workers.latestJSVersion" for only B2G's trunk, which has no > releases planned for the foreseeable future.
This feels like painting ourselves into a corner. > E2) On B2G have certified apps get JSVERSION_LATEST since that's where we > hide dangerous things where there's an explicit burden on the apps to stay > up-to-date with potentially breaking changes. I'd rather do D. Again, explicit > implicit. > F) Just use the Babel transpiler for now for workers at the cost of not > being able to provide feedback to the JS engine in cases where it's not > practical to flip the preference. Many FxOS apps already use AMD-style > module loaders that support loader plugins > (http://requirejs.org/docs/plugins.html) that support both dynamic > transpiling and optimized build-time transpiling, and one exists for Babel > already (https://github.com/mikach/requirejs-babel). I don't have a sense for how much extra work this is for you guys, so I don't have a strong opinion either way on this. / Jonas _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform