Chrome Release Summary
+151
Chrome 42
Enabled (10) | Origin Trial (0) | Behind a flag (0) | Deprecated (0) | Removed (1)Enabled by default in 42
This release of Chrome had 10 new features.
Classes (ES6)
Language support for classes. In 42, shipped in strict mode. In 49, shipped outside of strict mode as well. #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes
Samples: https://github.com/GoogleChrome/samples/tree/gh-pages/classes-es6
ES6 Extended Object Literals
Allows concise methods and property shorthands in object literals #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Object_initializer
No linked samplesEncrypted Media Extensions (EME)
Defines a common API that may be used to discover, select and interact with Digital Rights Management systems for use with HTMLMediaElement. #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/API/EncryptedMediaExtensions_API
Samples: https://shaka-player-demo.appspot.com/
Fetch API
Fetch API is a new API for loading resources in web applications. It's intended to supersede XMLHttpRequest. Fetch API is already available in ServiceWorker scope. This entry is for announcing its availability in window scope. #
This feature was specified in this Spec.
Resources
Docs: http://updates.html5rocks.com/2015/03/introduction-to-fetchhttps://developer.mozilla.org/en-US/docs/Web/API/Fetch_API
Samples: https://github.com/GoogleChrome/samples/tree/gh-pages/fetch-api
ImageData constructor
Instantiate new ImageData objects by way of an object constructor. #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en/docs/Web/API/ImageData
No linked samplesNotifications using Service Workers
Web Notifications have an in-page event delivery model by default, which means that notifications cannot reliably outlive the page's lifetime. Allowing event delivery to be routed to a page's Service Worker provides a solid solution.
This feature was specified in this Spec.
Resources
Docs: http://updates.html5rocks.com/2015/03/push-notificatons-on-the-open-web
Samples: https://github.com/GoogleChrome/samples/tree/gh-pages/push-messaging-and-notifications
Push API
Push notifications for the web #
This feature was specified in this Spec.
Resources
Docs: http://updates.html5rocks.com/2015/03/push-notificatons-on-the-open-webhttps://developer.mozilla.org/en-US/docs/Web/API/Push_API
Samples: https://github.com/GoogleChrome/samples/tree/gh-pages/push-messaging-and-notifications
Web/native app install banners
Chrome 42 for Android will encourage users to add high quality sites they visit frequently to their home screen. In the future it will support the same for native apps. This entry is for the visual aspect, not the API surface. The Manifest API surface is covered by https://www.chromestatus.com/features/4754986680451072. The event API surface is covered in https://www.chromestatus.com/features/6560913322672128 #
Resources
Docs: https://github.com/slightlyoff/AppInstallImprovements/blob/master/explainer.mdhttp://updates.html5rocks.com/2015/03/increasing-engagement-with-app-install-banners-in-chrome-for-android
Samples: https://github.com/GoogleChrome/samples/tree/gh-pages/app-install-banner/
WebAudio: Deprecate setting AudioBufferSourceNode.buffer more than once
Setting AudioBufferSourceNode.buffer more than once is deprecated. A deprecation message is displayed if the buffer attribute is assigned more than once. #
This feature was specified in this Spec.
Resources
Docs: https://github.com/WebAudio/web-audio-api/issues/288
No linked samplesWebAudio: OfflineAudioContext.startRendering() returns a promise
The startRendering() method for an OfflineAudioContext now returns a promise that is resolved with the rendered audio when rendering is done. #
This feature was specified in this Spec.
Resources
Docs: http://webaudio.github.io/web-audio-api/#widl-OfflineAudioContext-startRendering-Promise-AudioBuffer
Samples: https://github.com/GoogleChrome/samples/tree/gh-pages/webaudio-offlinecontext-rendering
Origin Trials in-progress in 42
This release of Chrome had 0 new origin trials.
Flagged features in 42
This release of Chrome had 0 are available behind a flag.
Deprecations and Removals
Deprecation policy
To keep the platform healthy, we sometimes remove APIs from the Web Platform which have run their course. There can be many reasons why we would remove an API, such as:
- They are superseded by newer APIs.
- They are updated to reflect changes to specifications to bring alignment and consistency with other browsers.
- They are early experiments that never came to fruition in other browsers and thus can increase the burden of support for web developers.
Some of these changes will have an effect on a very small number of sites. To mitigate issues ahead of time, we try to give developers advanced notice so they can make the required changes to keep their sites running.
Chrome currently has a process for deprecations and removals of API's, essentially:
- Announce on the blink-dev mailing list.
- Set warnings and give time scales in the Chrome DevTools Console when usage is detected on the page.
- Wait, monitor, and then remove the feature as usage drops.
You can find a list of all deprecated features on chromestatus.com using the deprecated filter and removed features by applying the removed filter. We will also try to summarize some of the changes, reasoning, and migration paths in these posts.
Deprecated features in 42
This release of Chrome had 0 features deprecated.
Removed features in 42
This release of Chrome had 1 features removed.
showModalDialog
The global showModalDialog() method displays a modal dialog box containing a specified HTML document. This feature has an incredibly high cost in terms of code complexity since it requires us to run an event loop on top of an arbitrary JavaScript stack. It also complicates the web platform by making task dispatch reentrant and hard to reason about. In Chrome 37 it was disabled and in Chrome 43 it is removed.
Resources
Docs: http://blog.chromium.org/2014/07/disabling-showmodaldialog.htmlhttp://dev.opera.com/blog/showmodaldialog/
No linked samples