Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 2.43 KB

GLOBALS.md

File metadata and controls

50 lines (33 loc) · 2.43 KB

Multi-environment properties of the global object

Properties of the global object are the entry-point to the web's current JavaScript APIs, as built-in modules are not yet exposed. This page documents properties of the global object that are shared between embedders, and the level of compatibility between them.

Note, information about Node.js compatibility is welcome in MDN.

Conventions

  • Only include APIs which have built-in support in at least two environments, at least one of which is the Web.
  • Link to MDN for browser compatibility data (there is a multivendor effort to keep this data in good shape).
  • Include at most a short note about compatibility inline, and use a separate Markdown file for more extensive notes.
  • When possible, include information about support in the following embedding environments:
    • Web
    • Node.js
    • (please make PRs to add to this list! Should we add CloudFlare Workers, Windows Universal Apps, Moddable XS, etc?)

URL

Spec: https://url.spec.whatwg.org

Environments supported:

Compatibility: Node.js implements the same interface, modulo brand checks and IDL mistakes in Node.js (TODO: be more specific)

Encoding standard

Spec: https://encoding.spec.whatwg.org

Environments supported:

Compatibility: Node.js does not support the *Stream encoding interfaces. The set of encoding supported by Node is dependent on compilation options; see Node documentation for more details.

WebAssembly JS API

Spec: https://www.w3.org/TR/wasm-js-api-1/

Environments supported:

  • Web
  • Node.js: not documented yet

Console API

Spec: https://console.spec.whatwg.org

Environments supported: