Chrome Release Summary
+151
Chrome 57
Enabled (35) | Origin Trial (1) | Behind a flag (0) | Deprecated (0) | Removed (6)Enabled by default in 57
This release of Chrome had 35 new features.
Add sequence<DOMString> constructor to PresentationRequest and PresentationConnection.url
This change adds a new constructor to PresentationRequest taking taking multiple URLs (sequence<DOMString>), in addition to the existing constructor that takes a single URL. It also adds the url attribute to PresentationConnection to tell the site what URL was presented. #
This feature was specified in this Spec.
Add |timecode| to MediaRecorder's BlobEvent
MediaRecorder produces BlobEvents that have no timing information. [1] requested adding a DOMHighResTimestamp to said BlobEvent [2]. The Pull Request was reviewed and approved by the only two implementors of the said API, Gecko and Chrome. [1] https://github.com/w3c/mediacapture-record/issues/73 [2] https://github.com/w3c/mediacapture-record/pull/95 #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/API/BlobEventhttps://developer.mozilla.org/en-US/docs/Web/API/BlobEvent/timecodehttps://developer.mozilla.org/en-US/docs/Web/API/BlobEvent/BlobEvent
No linked samplesCSS ::placeholder pseudo element
Unprefixed version of ::-webkit-input-placeholder. #
This feature was specified in this Spec.
CSS Grid Layout
A two-dimensional grid-based layout system, optimized for user interface design. #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Gridshttps://css-tricks.com/snippets/css/complete-guide-grid/
Samples: http://gridbyexample.com/http://labs.jensimmons.com/
CSS UI: caret-color property
This property allows coloring the insertion caret. #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/CSS/caret-color
No linked samplesCSS logical height and width
Implement {inline-,block-}size and {min-,max-}{inline-,block-}size, which are introduced by CSS Logical Properties. The related properties are: inline-size, block-size , min-inline-size,min-block-size, max-inline-size, max-block-size Provide the author with the ability to control layout through logical, rather than physical, direction and dimension mappings. #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/docs/Web/CSS/CSS_Logical_Propertieshttps://drafts.csswg.org/css-writing-modes/#logical-to-physical
Samples: https://jsfiddle.net/xuxing/fL8rpcko/https://jsfiddle.net/xuxing/433e3fdw/https://jsfiddle.net/xuxing/25xh1mpn/https://jsfiddle.net/xuxing/ug00c0vj/
CSS3 Text Decorations
CSS3 Text Decoration specification provides new properties that implements new text decoration styling features such as lines, color and style. As the specification says: "CSS Levels 1 and 2 only defined very basic line decorations (underlines, overlines, and strike-throughs) appropriate to Western typographical traditions. Level 3 of this module adds the ability to change the color, style, position, [...]" This Chromestatus entry consists of the https://drafts.csswg.org/css-text-decor-2 #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration
No linked samplesChild-indexed pseudo-classes matching elements without a parent
Change how the child-indexed pseudo-class selectors are matched so they also match elements without a parent. This is a change in the spec from selectors-3 to selectors-4. The reasoning for this is explained in the spec. #
This feature was specified in this Spec.
Resources
No linked docsDeprecate and remove -internal-media-controls-overlay-cast-button
-internal-media-controls-overlay-cast-button selector exposes Blink internal shadow DOM to the web content. Authors that want to have a custom cast button should use custom controls and implement a cast button with the Remote Playback API. Authors that have custom controls and want to hide the overlay can use the `disableRemotePlayback` attribute. #
FontFaceSetLoadEvent Constructor
This entry tracks exposing FontFaceSetLoadEvent constructor. #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSetLoadEvent/FontFaceSetLoadEvent
No linked samplesFullscreen Media Orientation
Automatically lock the screen orientation when a video with default controls go fullscreen in order to maximize the screen usage. The orientation of the screen will match the aspect ratio of the video. #
Intervention: Block audible cross-origin autoplay
This is an intervention that intends to block cross-origin iframes from autoplaying audible media. In other words, cross-origin iframes on desktop will behave like mobile currently behaves: only muted/inaudible autoplay will be allowed. #
Intervention: Passive Touch Event Listeners During Fling
Passive Event Listeners is a way to improve the scroll performance by unblocking scrolling on touch and wheel event listeners, so that scrolling happens immediately while the events are processed by javascript. alexclarke@ proposed that we should treat all the touchstart and first touchmove event listeners as passive while there’s an active fling animation. #
This feature was specified in this Spec.
Resources
Docs: https://developers.google.com/web/updates/2017/01/scrolling-interventionhttps://docs.google.com/document/d/10O_wMEpKgnhCfEQ8L3JckEKvkcclwEwCLtL0nSl7usA/https://docs.google.com/document/d/1jXaK9JcqpZtiNMoXvmgJ6sZ6K04wCO1VKIqvJeFM8wI/
Samples: https://output.jsbin.com/qegemu/quiet/
Intervention: Throttle expensive background timers
As an intervention we want to limit how much CPU a background page is allowed to use and to throttle timer queues when this limit is violated. Current target is that background page CPU load level should be under 1%. #
This feature was specified in this Spec.
Resources
Docs: https://blog.chromium.org/2017/03/reducing-power-consumption-for.htmlhttps://developers.google.com/web/updates/2017/03/background_tabshttps://github.com/WICG/interventions/issues/34
Samples: https://fiddle.jshell.net/vvL0e9x3/show/light/
Intervention: Throttle timers in out-of-view frames
As an intervention we want to limit the rate at which timers in out-of-view, cross-origin frames are able to fire. Until very recently it wasn't possible for script authors to easily determine whether their content was visible to the user or not. A common pattern therefore is to use a continuous setTimeout() loop for driving animations without considering visibility, which can be very costly for performance. #
Resources
Docs: https://docs.google.com/document/d/1Xa8sd2M_Eh6hGSWeKTy_akzKdxcVZjCk4PQMqV8yXXw/edithttps://github.com/WICG/interventions/issues/9
Samples: http://fiddle.jshell.net/3L9c9uyc/3/show/light/
Intl.DateTimeFormat.prototype.formatToParts()
Intl.DateTimeFormat.prototype.formatToParts() is scheduled to be added to the EcmaScript Internationalization API specification (Ecma 402). It adds a method to format date and time to a list of tokens and their type (e.g. literal, day, year, month, hour, minute, era, etc). #
This feature was specified in this Spec.
Resources
Docs: https://github.com/tc39/ecma402/issues/30https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat/formatToPartshttps://github.com/zbraniecki/proposal-intl-formatToParts
No linked samplesMediaDevices devicechange event
The devicechange event is fired when a media device (e.g., camera, microphone or speaker) is connected to or removed from the system. This feature is useful for applications that wish to react to changes in the set of available media devices; for example, to show a device list that is always up-to-date. This is expected to be on by default in Chrome 57. #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/Events/devicechange
No linked samplesMediaStreamTrack Content Hints
This feature extends MediaStreamTrack to provide a media-content hint attribute. This optional hint permits MediaStreamTrack consumers such as PeerConnection or MediaRecorder to encode or process track media with methods more appropriate to the type of content that is being consumed. #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack
No linked samplesNavigation Timing 2
Navigation Timing 2 (NT2) enables obtaining accurate timing data related to the navigation of the document. #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming
No linked samplesPaymentDetails.error
When the payment request is updated using updateWith, the PaymentDetails can contain a message in the error field that will be displayed to the user. For example, this might commonly be used to explain why goods cannot be shipped to the chosen shipping address. The error field cannot be passed to the PaymentRequest constructor. Doing so will cause a TypeError to be thrown. #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/API/PaymentRequestUpdateEvent/PaymentRequestUpdateEvent
Samples: https://rsolomakhin.github.io/pr/us/
RTCDataChannelEvent constructor
This entry track exposing RTCDataChannelEvent constructor. RTCDataChannel and RTCDataChannelEvent was implemented and shippped before the current process. #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannelEvent
No linked samplesRemove MediaRecorder |ignoreMutedMedia|
After discussion in the W3C Spec Github [1], there is agreement to remove this feature (and its associated boolean attribute). FF never shipped it [2], Chromium never wired its behaviour [3]. [1] https://github.com/w3c/mediacapture-record/issues/99 [2] https://github.com/mozilla/gecko-dev/blob/master/dom/webidl/MediaRecorder.webidl [3] https://cs.chromium.org/search/?q=m_ignoreMutedMedia&sq=package:chromium&type=cs #
This feature was specified in this Spec.
Resources
Docs: https://w3c.github.io/mediacapture-record/MediaRecorder.html
No linked samplesRemove ServiceWorkerMessageEvent in favor of using MessageEvent
As HTML spec extended MessageEvent to allow ServiceWorker as a type of the source attribute, client.postMessage(message, transfer) and creation of custom message events are changed to use MessageEvent instead of ServiceWorkerMessageEvent. ServiceWorkerMessageEvent is removed. #
This feature was specified in this Spec.
String.prototype.padStart() / String.prototype.padEnd()
String formatting tools which returns a target/receiver string prepended or appended with a repeating pattern of characters: "foo".padStart(10, "0"); -> "0000000foo"; "foo".padEnd(10, "0"); -> "foo0000000"; #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/padStarthttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/padEndhttp://www.2ality.com/2015/11/string-padding.html
No linked samplesWebAssembly
WebAssembly, or wasm, is an efficient low-level programming language for in-browser client-side execution. It is designed to support C/C++ and similar low-level languages. Future versions may be enhanced to better support other languages. WebAssembly is intended to be small, fast to decode, fast to compile, and fast to execute. #
This feature was specified in this Spec.
Resources
Docs: https://github.com/WebAssembly/designhttps://github.com/WebAssembly/spechttps://developer.mozilla.org/en-US/docs/WebAssembly
No linked samplesWebAudio: Add AudioContext.getOutputTimestamp() method
The AudioContext.getOutputTimestamp() method helps to synchronize DOM time and AudioContext time values. It is used to estimate DOMHighResTimeStamp value of the audio output stream position for the given AudioContext.currentTime value, or do the opposite: estimate AudioContext.currentTime value of the audio output stream position for the given DOMHighResTimeStamp value. #
This feature was specified in this Spec.
Resources
Docs: https://webaudio.github.io/web-audio-api/#widl-AudioContext-getOutputTimestamp-AudioTimestamphttps://developer.mozilla.org/en-US/docs/Web/API/AudioContext
No linked samplesWebAudio: Add AudioScheduledSourceNode base class for source nodes
Add AudioScheduledSourceNode as a base class of AudioBufferSourceNode, OscillatorNode, and ConstantSourceNode. This is a small change to capture the common features of the source nodes into a base class. #
This feature was specified in this Spec.
Resources
Docs: https://webaudio.github.io/web-audio-api/#AudioScheduledSourceNode
No linked samplesWebAudio: AudioParam cancelAndHoldAtTime
cancelAndHoldAtTime cancels future AudioParam events and holds the value of the AudioParam at the value at the scheduled time. #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/cancelAndHoldAtTimehttps://webaudio.github.io/web-audio-api/#widl-AudioParam-cancelAndHoldAtTime-AudioParam-double-cancelTime
No linked samplesWebAudio: Event Constructors
Allow WebAudio-specific events to be constructed. Specifically, OfflineAudioCompletionEvent and AudioProcessEvent can be constructed. #
This feature was specified in this Spec.
Resources
Docs: https://webaudio.github.io/web-audio-api/#OfflineAudioCompletionEventhttps://webaudio.github.io/web-audio-api/#the-audioprocessingevent-interface---deprecated
No linked samplesWebAudio: Remove prefixed AudioContext and OfflineAudioContext
Support for webkitAudioContext and webkitOfflineAudioContext is removed in favor of AudioContext and OfflineAudioContext. Currently warnings are produced, but upon removal, the prefixed versions will no longer exist. #
This feature was specified in this Spec.
XSS Auditor blocks by default
Chrome's XSS Auditor should block pages by default, rather than filtering out suspected reflected XSS. Moreover, we should remove the filtering option, as breaking specific pieces of page's script has been an XSS vector itself in the past. #
Resources
Docs: https://msdn.microsoft.com/en-us/library/dd565647(v=vs.85).aspx
No linked samplesbasic-card support in PaymentRequest
Support the "basic-card" method for web payments. #
This feature was specified in this Spec.
Resources
No linked docsSamples: https://rsolomakhin.github.io/pr/
fieldset.elements returns an HTMLCollection, not an HTMLFormControlsCollection
The specification was changed so that fieldset.elements returns an HTMLCollection instead of an HTMLFormControlsCollection. https://github.com/whatwg/html/commit/934887d313305448b7ba6dd3af6f7434e1b600c8 #
This feature was specified in this Spec.
location.reload() behavior change
Originally, location.reload() revalidates all cached resources. But from the m57, this behavior is changed to revalidate only the main resource, and to follow cache policy protocols for subresources. #
ongot/lostpointercaptures in GlobalEventHandlers
Previously in PointerEvents spec v1 (https://www.w3.org/TR/pointerevents/) we had ongotpointercapture and onlostpointercapture attributes as part of the Element. Now we are moving them to GlobalEventHandlers to make them consistent with the other on'event' attributes as the capture events will also bubble similar to other events. Note that this way of listening to the events through on'event' attributes are legacy and should not be mostly used. But this change makes sure they are all consistent. #
This feature was specified in this Spec.
Origin Trials in-progress in 57
This release of Chrome had 1 new origin trials.
Navigation preload for service workers
An API that enables the browser to send “preload” network requests for navigations before executing the fetch event handler in the service worker that intercepts the target URL. The worker has access to the preload response inside the fetch event handler. Common use cases would be to respond with the preload response directly, or use it to populate the response. #
This feature was specified in this Spec.
Resources
Docs: https://developers.google.com/web/updates/2017/02/navigation-preloadhttps://mattto.github.io/sw/demo/navigation-preload/https://developer.mozilla.org/en-US/docs/Web/API/NavigationPreloadManager
No linked samplesFlagged features in 57
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 57
This release of Chrome had 0 features deprecated.
Removed features in 57
This release of Chrome had 6 features removed.
Deprecate and Remove webkitCancelRequestAnimationFrame
webkitCancelRequestAnimationFrame is an obsolete, vendor-specific API. Authors should use cancelAnimationFrame instead. #
This feature was specified in this Spec.
Legacy constants on Event
There are 16 numeric constants on Event, Event.MOUSEDOWN and others. These constants no longer serve any purpose. #
Prefixed Resource Timing buffer-management API
Support for webkitClearResourceTimings(), webkitSetResourceTimingBufferSize(), and onwebkitresourcetimingbufferfull is removed from the Performance interface, in favor of clearResourceTimings(), setResourceTimingBufferSize(), and onresourcetimingbufferfull. Currently warnings are produced, but upon removal, the prefixed versions will no longer exist. #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/API/Performance/clearResourceTimingshttps://developer.mozilla.org/en-US/docs/Web/API/Performance/setResourceTimingBufferSizehttps://developer.mozilla.org/en-US/docs/Web/API/Performance/onresourcetimingbufferfull
No linked samplesRemove Key Generation Element
Since Chrome 49, <keygen>'s default behaviour has been to return the empty string, unless a permission was granted to this page. Removed in Chrome 57. #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/keygen
No linked samplesSVGCursorElement
The <cursor> element. Can be referenced from the 'cursor' property to provide a use-defined cursor image. #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/API/SVGCursorElement
No linked sampleswebkit-prefixed IndexedDB global aliases
The IndexedDB entry point and global constructors were exposed with `webkit` prefixes as was common circa Chrome 11: webkitIndexedDB (main entry point) webkitIDBKeyRange (non-callable global constructor, but has useful static methods) webkitIDBCursor webkitIDBDatabase webkitIDBFactory webkitIDBIndex webkitIDBObjectStore webkitIDBRequest webkitIDBTransaction (non-callable global constructors) The non-prefixed API shipped in M24 and the prefixed versions deprecated in M38. #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API
No linked samples