Re: Intent to ship: Dynamic module imports (JS 'import()' syntax)

2019-03-07 Thread Martin Thomson
Thanks. (And ugh, but that's how these things go.) On Fri, Mar 8, 2019 at 2:40 PM Boris Zbarsky wrote: > On 3/7/19 10:27 PM, Martin Thomson wrote: > > Is there a way that doesn't rely on eval or eval-like mechanisms? > > I suspect the only detectable thing here (and Jon might wake up tomorrow >

Re: Intent to ship: Dynamic module imports (JS 'import()' syntax)

2019-03-07 Thread Boris Zbarsky
On 3/7/19 10:27 PM, Martin Thomson wrote: Is there a way that doesn't rely on eval or eval-like mechanisms? I suspect the only detectable thing here (and Jon might wake up tomorrow and tell me I'm wrong!) is that import('stuff') is a syntax error without the support but is not a syntax error

Re: Intent to ship: Dynamic module imports (JS 'import()' syntax)

2019-03-07 Thread Martin Thomson
Is there a way that doesn't rely on eval or eval-like mechanisms? On Fri, Mar 8, 2019 at 1:55 PM Boris Zbarsky wrote: > On 3/7/19 6:14 PM, rekt...@gmail.com wrote: > > Is there any way to feature detect support for import() syntax? > > In Firefox, yes, as far as I can tell: > >try { > n

Re: Intent to ship: Dynamic module imports (JS 'import()' syntax)

2019-03-07 Thread Boris Zbarsky
On 3/7/19 6:14 PM, rekt...@gmail.com wrote: Is there any way to feature detect support for import() syntax? In Firefox, yes, as far as I can tell: try { new Function("import('')"); // supported } catch (e) { // not supported } -Boris _

Intent to implement: Limit the maximum life-time of cookies set through document.cookie to seven days

2019-03-07 Thread Ehsan Akhgari
*Summary*: As part of the anti-tracking project, we'd like to experiment with a new feature in order to mitigate the impact of third-party tracking scripts running in top-level documents. As we are planning to start removing the storage capabilities of third-party trackers, which removes their abi

Re: Intent to ship: Dynamic module imports (JS 'import()' syntax)

2019-03-07 Thread rektide
Is there any way to feature detect support for import() syntax? ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Intent to ship: Dynamic module imports (JS 'import()' syntax)

2019-03-07 Thread Jon Coppeard
I intend to enable dynamic module import on by default, to ship in Firefox 67. It has been developed behind the javascript.options.dynamicImport preference. This is already shipping in Chrome, Safari and Opera. Bug to turn on by default: https://bugzilla.mozilla.org/show_bug.cgi?id=1517546 This

Re: Type-based alias analysis and Gecko C++

2019-03-07 Thread Henri Sivonen
On Wed, Feb 27, 2019 at 10:20 AM Henri Sivonen wrote: > Given the replies to this thread and especially the one I quoted > above, I suggest appending the following paragraph after the first > paragraph of > https://developer.mozilla.org/en-US/docs/Mozilla/Using_CXX_in_Mozilla_code I've made the