Skip to content

Instantly share code, notes, and snippets.

@annevk
Last active August 29, 2015 14:01
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save annevk/6bfa782752dde6acb379 to your computer and use it in GitHub Desktop.
Save annevk/6bfa782752dde6acb379 to your computer and use it in GitHub Desktop.
APIs that could move into ES

Not really in any particular order. Some are more logical than others.

  • TextDecoder / TextEncoder
  • URL
  • fetch() (unclear yet how we are going to namespace this, CORS behavior also does not make much sense outside browser context)
  • Worker / SharedWorker (and all the port business, structured cloning is on its way already; would require events to be ported too)
  • window.btoa() / window.atob()
  • window.setTimeout(), …
  • ImageBitmap
  • EventSource
  • WebSocket
  • Web Crypto https://www.w3.org/Bugs/Public/show_bug.cgi?id=26178
@mathiasbynens
Copy link

👍

@bkardell
Copy link

Eh... how about console, it's been discussed before as part of the std libs https://github.com/DeveloperToolsWG/console-object

@sindresorhus
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment