<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Nov 29, 2015 at 2:30 PM, David Bruant <span dir="ltr"><<a href="mailto:bruant.d@gmail.com" target="_blank">bruant.d@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Just a drive-by comment to inform folks that there is an effort to transition Mozilla JavaScript codebase to standard JavaScript.<br>
Main bugs is: <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=867617" rel="noreferrer" target="_blank">https://bugzilla.mozilla.org/show_bug.cgi?id=867617</a><br>
<br>
And <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1103158" rel="noreferrer" target="_blank">https://bugzilla.mozilla.org/show_bug.cgi?id=1103158</a> is about removing non-standard features from SpiderMonkey.<br>
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).<span class=""><br></span></blockquote><div><br></div><div>What about .jsm modules ? Or is that not really considered ?<br><br></div><div>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.<br></div><div> <br></div></div></div></div>