On Mon, Mar 31, 2014 at 11:27 AM, David Bruant <[email protected]> wrote:

> Le 29/03/2014 20:16, Till Schneidereit a écrit :
>
>  On Sat, Mar 29, 2014 at 3:05 PM, Chris Peterson <[email protected]
>> >wrote:
>>
>>  On 3/29/14, 11:38 AM, Till Schneidereit wrote:
>>>
>>>  Just stumbled upon this:
>>>> https://groups.google.com/forum/#!topic/mozilla.dev.gaia/Il3DiRpIZ0U
>>>>
>>>> In this particular case, the right conclusions was arrived at, but I
>>>> wonder
>>>> if we should try to be more proactive about getting people to not use
>>>> any
>>>> features we want to remove eventually. Or, at least, be free to
>>>> deoptimize
>>>> as needed.
>>>>
>>>>  Till, by "be more proactive", do you just telling people (on the lists
>>> you
>>> mentioned) or adding warnings (to jshint or console)?
>>>
>>> At the JS work week, we discussed adding telemetry for JS 1.8 (and other
>>> non-standard <script> type values). Is that still interesting?
>>>
>>>  We should do all three, I think. I filed bug 988386[1] on the last. Note
>> that that's for web content, though, not platform/Firefox/Gaja code.
>>
> nor addons?


Yes, absolutely, and unfortunately.


>
>
>  The second is the most difficult to get right, though: we don't want
>> warning
>> fatigue to completely undermine any effect.
>>
> At the same time, platform/Gaia folks are easier to reach out and "anyone"
> can write a patch to fix the issue (unlike web content). The addon part is
> a bit fuzzier.
> It's interesting to see that changes to generators didn't seem to break
> too many addons [1].
>

I fear that that's mostly because the old generators largely work just the
way they used to.


>
> Happy to write doc on transitioning from a SpiderMonkey-specific feature
> to an ES6 one if that can help make the warning message more efficient
> (with a link to the doc on how to transition).
>

That'd be really useful, yes!

I focused on Mozilla project-created code here largely because one of them
had a discussion about this topic. You're absolutely right that we should
have an integrated strategy covering all relevant types of projects:
platform code of any kind, addons, and web content.
_______________________________________________
dev-tech-js-engine-internals mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals

Reply via email to