Chrome Release Summary
+151
Chrome 45
Enabled (24) | Origin Trial (0) | Behind a flag (1) | Deprecated (0) | Removed (9)Enabled by default in 45
This release of Chrome had 24 new features.
Arrow functions (ES6)
The arrow (=>) takes the place of the function keyword #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions
Samples: https://googlechrome.github.io/samples/arrows-es6/index.html
Audio and video tracks
This adds the ability to get information about multiple audio and video tracks, and switch between them using the AudioTrack.enabled and VideoTrack.selected attributes. #
This feature was specified in this Spec.
Battery Status API
Allows access to see the battery level of the device's battery #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/API/Battery_Status_API
Samples: https://github.com/GoogleChrome/samples/tree/gh-pages/battery-statushttp://jsbin.com/battery-status-testhttp://htmlpreview.github.io/?https://github.com/samdutton/simpl/blob/master/battery/index.html
CSP2: Exclude 'blob:' and 'filesystem:' from the 'self' source expression.
In CSP2, the `'self'` source expression explicitly excludes `blob:` and `filesystem:`. This means that developers will need to add those schemes explicitly to their directives if they wish to include content at those URLs. #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/Security/CSP/CSP_policy_directives
No linked samplesCSS Motion Path
Motion paths allow authors to animate any graphical object along an author-specified path. The following CSS properties are defined: motion-offset motion-path motion-rotation motion (shorthand) #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/CSS/motionhttps://developer.mozilla.org/en-US/docs/Web/CSS/motion-pathhttps://developer.mozilla.org/en-US/docs/Web/CSS/motion-offsethttps://developer.mozilla.org/en-US/docs/Web/CSS/motion-rotation
Samples: https://googlechrome.github.io/samples/css-motion-path/index.htmlhttp://bit.ly/1HLfdrv
CSS Multi-column (new implementation)
Ship the flow thread based multicol implementation, so that we eventually can bring Blink's multicol support to a level that matches other engines' (Presto and Trident). #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Using_multi-column_layouts
Samples: https://googlechrome.github.io/samples/multi-column-css/index.html
CSSGroupingRule
The CSSGroupingRule interface represents an at-rule that contains other rules nested inside itself. Per spec, CSSMediaRule and CSSPageRule inherit from CSSGroupingRule. #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/API/CSSGroupingRulehttps://developer.mozilla.org/en-US/docs/Web/API/CSSMediaRulehttps://developer.mozilla.org/en-US/docs/Web/API/CSSPageRule
No linked samplesDocument's "first-party" takes ancestors into account.
I'd like to make a small change to the definition of "first-party" that we use for third-party cookie blocking: we currently look only at the top-level origin to determine the first-party origin for a request. I'd like to start walking the whole ancestor chain of a frame. #
This feature was specified in this Spec.
ES6 Array methods
Additional static methods on Array and instance methods on Array.prototype: Array.from, Array.of, Array.prototype.copyWithin, Array.prototype.fill, Array.prototype.find, Array.prototype.findIndex #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array#Methods
Samples: https://googlechrome.github.io/samples/array-methods-es6/index.html
ES6 TypedArray methods
Additional static methods on concrete TypedArray subclasses (Int8Array, Float32Array, etc) and instance methods on their prototypes. Includes most of the existing Array methods, as well as those added in ES6. #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray#Methods
Samples: https://googlechrome.github.io/samples/typedarray-methods-es6/index.html
Notification.vibrate
The vibrate member of the NotificationOptions dictionary allows web developers to specify a vibration pattern for a notification. As of Chrome 53, the `Notification.vibrate` property is exposed as well. #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/API/notification/vibrate
Samples: https://googlechrome.github.io/samples/notifications/vibrate.html
Object.assign()
The Object.assign() method is used to copy the values of all enumerable own properties from one or more source objects to a target object. It will return the target object. #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign
Samples: https://googlechrome.github.io/samples/object-assign-es6/index.html
Service Worker: Client.id
Client.id is a GUID allowing the ServiceWorker to track client objects between SW termination & restart. #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/API/Client/id
No linked samplesService Worker: Client.postMessage() and ServiceWorkerMessageEvent
Before Chrome 45, a Service Worker sending a message via Client.postMessage() results in a MessageEvent fired on the Client's global scope (e.g., window). Since Chrome 45, the event is a ServiceWorkerMessageEvent fired on navigator.serviceWorker rather than window. Until Chrome 45, Client.postMessage displayed an "experimental, may change" deprecation warning. #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerMessageEventhttps://developer.mozilla.org/en-US/docs/Web/API/Client/postMessage
Samples: https://googlechrome.github.io/samples/service-worker/post-message/index.html
Service Worker: ServiceWorkerContainer.getRegistrations()
Returns all Service Worker registrations for the current origin. #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/getRegistrations
No linked samplesService Worker: ServiceWorkerRegistration.update()
update() pings the server for an updated version of this Service Worker registration without consulting caches. #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/update
No linked samplesStop sending mouse position updates during scrolling
While scrolling via trackpad or mousewheel, we previously sent mouse position updates every 100ms. On pages with heavy mouse handlers or :hover styles, this could cause significant amounts of scroll jank. Sending a mouse position update includes updating :hover styles, and dispatching mousemove, mouseover, mouseenter, mouseleave, and mouseout events. We’re planning to stop sending mouse position updates while scrolling. Instead, we'll trigger this behavior 100ms after scrolling ends. #
Resources
Docs: https://groups.google.com/a/chromium.org/d/msg/blink-dev/KIoVljZw5fc/EKGAoTeX8CQJ
No linked samplesSubresource Integrity
Subresource Integrity defines a mechanism by which user agents may verify that a fetched resource has been delivered without unexpected manipulation. In a nutshell, metadata inlined into HTML elements allows the browser to determine whether the resource that was downloaded matches the resource the page's author expected to download. This implementation covers only the two elements outlined in the spec: <script> and <link rel="stylesheet"> elements. #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/linkhttps://developer.mozilla.org/en-US/docs/Web/HTML/Element/scripthttps://developer.mozilla.org/en-US/docs/Web/API/Request
Samples: https://googlechrome.github.io/samples/subresource-integrity/index.html
Touch event timeout on mobile sites
Chrome on Android currently has a touch ACK timeout of 200ms for desktop sites. If the renderer does not respond to a touch event before the timeout delay, the touch sequence is cancelled and any associated gestures are dispatched. This change restores a touch timeout for sites with a mobile-friendly viewport, but with a timeout delay of 1 second. #
Resources
No linked samplesTouch.rotationAngle
The rotation angle, in degrees, of the contact area ellipse defined by Touch.radiusX and Touch.radiusY. #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/API/Touch/rotationAngle
Samples: https://rbyers.github.io/paint.html
Treat file:// URLs as having unique origin
Similar to sandboxed iframes and data: URLs, treat file:// URLs as having unique origin. #
This feature was specified in this Spec.
Window.{move,resize}{To,By} with non-optional arguments
The functions window.moveTo(), window.moveBy(), window.resizeTo() and window.resizeBy() throw TypeError when called with fewer than two arguments. #
This feature was specified in this Spec.
beforeinstallprompt event for web/native app install banners
An event for notifying the site that the browser is about to show an install banner, that also gives the site the ability to both suppress the banner, as well as show it later at a time of their choosing. Related: https://www.chromestatus.com/features/4540065577435136 #
This feature was specified in this Spec.
Resources
Docs: https://github.com/slightlyoff/AppInstallImprovements/blob/master/explainer.md#controlling-installationhttps://developer.mozilla.org/en-US/docs/Web/API/Window#Event_handlershttps://developer.mozilla.org/en-US/docs/Web/API/Window/onbeforeinstallprompthttps://developer.mozilla.org/en-US/docs/Web/API/BeforeInstallPromptEvent
Samples: https://killer-marmot.appspot.com/web/https://github.com/GoogleChrome/samples/tree/gh-pages/app-install-banner
rtcpMuxPolicy
The rtcpMuxPolicy is used by the application to specify its preferred policy regarding use of RTP/RTCP multiplexing. When the policy is "negotiate", the ICE candidates for both RTP and RTCP will be gathered. If the remote-endpoint is capable of multiplexing RTCP, multiplex RTCP on the RTP candidates. If it is not, use both the RTP and RTCP candidates separately. Note: The removal of this feature is not certain. Please comment on the launch bug #685727 if there is any concern. #
This feature was specified in this Spec.
Origin Trials in-progress in 45
This release of Chrome had 0 new origin trials.
Flagged features in 45
This release of Chrome had 1 are available behind a flag.
Individual Properties for CSS Transforms
This adds three new CSS properties: translate, rotate, and scale. These properties are known as the individual transform properties (and were previously known as the independent transform properties). This exposes a simple way for web developers to access transforms in an intuitive way, without having to think about how functions in the transform property interact with each other. The properties are individually animatable. #
This feature was specified in this Spec.
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 45
This release of Chrome had 0 features deprecated.
Removed features in 45
This release of Chrome had 9 features removed.
Attr child nodes
Attr should not have any child nodes per the DOM spec and should not inherit from Node. This entry covers the child node aspect only. #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/API/Attr
No linked samplesCSSKeyframesRule.insertRule()
Replaced by CSSKeyframesRule.appendRule() #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/API/CSSKeyframesRule
No linked samplesCSSUnknownRule
The CSSUnknownRule interface represents an at-rule not supported by this user agent. #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/API/CSSRule
No linked samplesDocument.charset setter
Document.charset is a non-standard IDL attribute supported by all engines except Gecko, with a proposal to standardize it: https://www.w3.org/Bugs/Public/show_bug.cgi?id=27436 In order to simplify standardization, Document.charset has been made readonly, as a simple alias of Document.characterSet. #
This feature was specified in this Spec.
Resources
Docs: https://www.w3.org/Bugs/Public/show_bug.cgi?id=27436https://developer.mozilla.org/en-US/docs/Web/API/Document/characterSet
No linked samplesNPAPI plug-in support
NPAPI’s 90s-era architecture has become a leading cause of hangs, crashes, security incidents, and code complexity in Chrome. Because of this, Chrome will be phasing out NPAPI support in 2013.
Push API: PushSubscription.subscriptionId
[Deprecated in Chrome 44, removed in Chrome 45] The Push API previously exposed two properties identifying the subscription: {endpoint, subscriptionId}. These will be merged to be only a single property: endpoint. Developers can update their implementation by only considering endpoint if it considers the contents of subscriptionId. #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/API/PushSubscription/subscriptionIdhttps://developer.mozilla.org/en-US/docs/Web/API/PushSubscription/endpointhttp://updates.html5rocks.com/2015/05/Notifying-you-of-notificiation-changes
Samples: https://github.com/GoogleChrome/samples/tree/gh-pages/push-messaging-and-notifications
Push API: gcm_user_visible_only deprecation
[Deprecated in Chrome 44, removed in Chrome 45] We asked developers to indicate their intent to only send push messages that result in user visible UI - Web Notifications, by including the "gcm_user_visible_only" key in their Manifest. We are now removing this key in favor of the specified solution: userVisibleOnly. The subscribe() method should be updated like this: serviceWorkerRegistration.pushManager.subscribe({ userVisibleOnly: true }).then(...) #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/API/PushManager/subscribehttp://updates.html5rocks.com/2015/05/Notifying-you-of-notificiation-changes
Samples: https://github.com/GoogleChrome/samples/tree/gh-pages/push-messaging-and-notifications
Range.compareNode() and Range.expand()
These are non-standard extensions to the Range interface introduced in 2006 and 2009 respectively: https://trac.webkit.org/changeset/48271 https://trac.webkit.org/changeset/16302 #
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/API/range/compareNodehttps://msdn.microsoft.com/library/ms536421(v=vs.85).aspx
No linked samplesRemove filterRes attribute
We plan to remove the filterRes attribute to align with the spec (http://www.w3.org/TR/filter-effects/#element-attrdef-filter-filterres).
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/filterRes
No linked samples