On Wed, Apr 29, 2015 at 9:05 AM, Andrew Sutherland
<asutherl...@asutherland.org> wrote:
>
> A) The JS concept of versions goes away, at least for web content and ES6
> features (in the next few weeks).  This covers things like
> https://bugzil.la/855665 on making let work without requiring JS 1.7.

I think this is the right solution. At least for 'let' and 'yield'.

> B) Have DOM workers use some JS version other than DEFAULT.  It seems like
> there could be web-compat isues with JS1.7/JS1.8 in their entirety, but
> perhaps a stop-gap version could be introduced.

We definitely can't change the JS version for all workers.

> C) Let DOM workers inherit the version of their calling context as proposed
> in https://bugzil.la/1151739 so the version parameter is effectively
> propagated.

I'd rather do D. Explicit > implicit here I think.

> D) Some other means of allowing explicit DOM worker versions to be
> specified.

I guess we could do a stop-gap where we enable passing a JS-version to
the |new Worker| constructor. But has anyone reached out to the JS
team and let them know that we really need let and yield in workers to
see if A is an option?

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

Reply via email to