March 2017 web platform update
Newly available on the web platform
Newly available
-
Classes: Classes are an object-oriented syntax for JavaScript prototypes. Learn more.
-
Fetch (initial support): The
fetch()
method makes asynchronous HTTP requests. Learn more.
Now available in Chrome Android
Limited availability
-
Media session: The
navigator.mediaSession
API integrates with platform UI for media playback. It can be used to set metadata such as title and artwork, and to handle user actions like playing, pausing, or seeking. Learn more.
Now available in Firefox
Limited availability
-
Async functions: The
async
andawait
keywords allow you to use the asynchronous, promise-based behavior of a function without using promise chains. Learn more.
Now available in Firefox for Android
Limited availability
-
Async functions: The
async
andawait
keywords allow you to use the asynchronous, promise-based behavior of a function without using promise chains. Learn more.
Now available in Safari
Limited availability
-
Async functions: The
async
andawait
keywords allow you to use the asynchronous, promise-based behavior of a function without using promise chains. Learn more. -
Autonomous custom elements: Autonomous custom elements are HTML elements with a hyphenated tag name (like
<example-element>
) that have behaviors you define. Learn more. -
Constraint validation API: Methods that validate form controls before submission, such as
checkValidity()
,reportValidity()
andsetCustomValidity()
. Learn more. -
Pointer lock: Provides access to raw mouse movement by locking the target of mouse events to a single element and hiding the mouse cursor. Learn more.
-
Shadow DOM: Shadow DOM allows you to attach encapsulated "shadow" DOM trees to elements. A shadow DOM tree is a separate component, isolated from the scripts and styles in other parts of the document. This is a part of Web Components. Learn more.
-
Stable array sort: Stable array sort() function Learn more.
Now available in Safari on iOS
Limited availability
-
Async functions: The
async
andawait
keywords allow you to use the asynchronous, promise-based behavior of a function without using promise chains. Learn more. -
Autonomous custom elements: Autonomous custom elements are HTML elements with a hyphenated tag name (like
<example-element>
) that have behaviors you define. Learn more. -
Constraint validation API: Methods that validate form controls before submission, such as
checkValidity()
,reportValidity()
andsetCustomValidity()
. Learn more. -
Shadow DOM: Shadow DOM allows you to attach encapsulated "shadow" DOM trees to elements. A shadow DOM tree is a separate component, isolated from the scripts and styles in other parts of the document. This is a part of Web Components. Learn more.
-
Stable array sort: Stable array sort() function Learn more.