Standardize global `setTimeout`/etc.?

Andrea Giammarchi andrea.giammarchi at gmail.com
Sun Feb 26 13:20:19 UTC 2017


These are standard already:
https://www.w3.org/TR/2011/WD-html5-20110525/timers.html#timers

It's rather a matter of "what in the W3C global scope should be available
on ECMAScript specifications too" ?

'cause timers are not the only thing that comes handy. Native
URLSearchParams and URL are also very handy, so could be fetch VS current
http get.

encodeURIComponent is there too ... why is that?

Etcetera

On Sat, Feb 25, 2017 at 11:35 PM, Isiah Meadows <isiahmeadows at gmail.com>
wrote:

> Most runtimes (not necessarily engines) in my experience provide
> either a synchronous `sleep` or the above `setTimeout`/etc. globals.
> In addition, many popular testing frameworks (e.g. Mocha, Jasmine)
> require them for important functionality. So here's my thought: it
> might be a good idea to standardize these methods in the language
> proper instead of just within the browser.
>
> -----
>
> Isiah Meadows
> me at isiahmeadows.com
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20170226/faae61ca/attachment-0001.html>


More information about the es-discuss mailing list