Chrome Release Summary
+151
Chrome 79
Enabled (16) | Origin Trial (4) | Behind a flag (0) | Deprecated (0) | Removed (1)Enabled by default in 79
This release of Chrome had 16 new features.
Autofocus support for any focusable HTML/SVG element
Adds the 'autofocus' attribute to any focusable HTML or SVG element. #
This feature was specified in this Spec.
CSS min(), max() and clamp()
Adds the comparison functions min(), max(), and clamp() to math expressions for numeric CSS values. #
This feature was specified in this Spec.
Resources
Docs: http://bit.ly/31Yfkm6
No linked samplesCompute img/video aspect ratio from width and height HTML attributes
Computes the aspect ratio of an image using the HTML width and height attributes so that it can be used for sizing an image using CSS before it loads. #
This feature was specified in this Spec.
Resources
Docs: https://github.com/WICG/intrinsicsize-attribute/issues/16#issuecomment-500941775
No linked samplesMaskable App Icons (PWA - Android)
Allow Maskable ("Adaptive") icons for installed WebAPKs on Android. #
This feature was specified in this Spec.
Resources
Docs: https://web.dev/maskable-icon/
No linked samplesOut-Of-Renderer Cross-Origin Resource Sharing (aka OOR-CORS or OutOfBlinkCors)
Cross-Origin Resource Sharing (CORS) is an established web standard protocol to protect servers from unexpected cross-origin network accesses. Chrome implemented the CORS protocol in the rendering engine, Blink, running in a renderer process before this change. However, once the OOR-CORS feature is enabled, it inspects network accesses in the network service, running in a separate process. #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORShttps://developer.chrome.com/extensions/webRequesthttps://docs.google.com/document/d/1JNmUcvbw2UcjfdI2uyUpveHXCbae-DQ1n8d_sVs5fLg/edit?usp=sharinghttps://docs.google.com/document/d/1Aqhx9dOkv0ZI5CDg8zxafPC-JTA66Cu6e_Tu9i5G6wQ/edit?usp=sharinghttps://docs.google.com/document/d/1M5GwH27os-Q3nNmBeZFMsZVThz49wQKCrC6xXFL9oR4/edit?usp=sharing
No linked samplesReject Worklet.addModule() with a more specific error
When Worklet.addModule() fails, a promise rejects with a more specific error object than it did previously. Worklet.addModule() can fail for various reasons, including, for example, network errors and syntax errors. Before this change, Worklet.addModule() rejected with AbortError regardless of the actual cause. That made it difficult for developers to debug worklets. After this change, Worklet.addModule() rejects with a clearer error such as SyntaxError. #
This feature was specified in this Spec.
Remove [NoInterfaceObject] from Geolocation API interfaces
The [NoInterfaceObject] annotation is being removed from WebIDL. The Geolocation API specification has been updated to remove this annotation from all interfaces and perform the following renames to avoid polluting the global namespace with generic interface names, Coordinates -> GeolocationCoordinates Position -> GeolocationPosition PositionError -> GeolocationPositionError #
This feature was specified in this Spec.
ServiceWorkerGlobalScope#serviceWorker to get a service worker object corresponding to a worker itself
This allows a service worker to get its ServiceWorker object with self.serviceWorker in a service worker script and its current state with self.serviceWorker.state in the script. #
This feature was specified in this Spec.
Resources
Docs: https://github.com/w3c/ServiceWorker/issues/1077
Stop evaluating script elements moved between Documents during fetching
Do not evaluate scripts or fire error/load events, if <script> elements are moved between Documents during fetching. Script elements can be still moved between Documents, but they won't be executed. #
This feature was specified in this Spec.
Resources
Docs: https://github.com/whatwg/html/issues/2469https://github.com/whatwg/html/pull/2673https://github.com/web-platform-tests/wpt/pull/5911https://www.chromestatus.com/metrics/feature/timeline/popularity/2528
No linked samplesWeb Bluetooth requestLEScan for surrounding devices
Enables Bluetooth Low Energy Scanning #
This feature was specified in this Spec.
Resources
Docs: https://docs.google.com/document/d/1N_zWN10qqCsut2-i3JBhTxgV6lgASu7WoslEtm-vyms/edit#https://docs.google.com/document/d/1YdjdjQxl7acSQ3EeuMVroLfVKuoGjrtig6FbjvPQ7pg/edit#heading=h.xzptrog8pyxf
Samples: https://googlechrome.github.io/samples/web-bluetooth/scan.htmlhttps://github.com/dougt/webbluetooth-examples
WebXR Anchors
This API is an extension to the WebXR Device API that provides a way to indicate to the underlying XR system that a 3D pose is meant to be kept up to date. Tracked poses may be arbitrary or attached to real world geometry. In current AR systems, poses evolve over time as the system understands more of the real world that surrounds it. As the system's understanding evolves, anchors enable the application to update poses of virtual objects so that they maintain their relationship to real world. #
This feature was specified in this Spec.
Resources
Docs: https://github.com/immersive-web/anchors/blob/master/explainer.md
Samples: https://storage.googleapis.com/chromium-webxr-test/latest.html?target=proposals/phone-ar-hit-test.htmlhttps://storage.googleapis.com/chromium-webxr-test/latest.html?target=proposals/phone-ar-plane-detection-anchors.html
WebXR Device API
Provides access to input and output capabilities commonly associated with Virtual Reality (VR). This API is intended to completely replace the WebVR API (https://www.chromestatus.com/feature/4532810371039232). It has been designed to address the issues found in the prior API based on developer, web platform, hardware manufacturer, and implementer feedback. #
This feature was specified in this Spec.
Resources
Docs: https://github.com/immersive-web/webxr/blob/master/explainer.md
Samples: https://immersive-web.github.io/webxr-samples/
WebXR Gamepads Module - Level 1
The WebXR Gamepad Module defines how the Gamepad API integrates with WebXR to communicate the state of various physical inputs (such as buttons, touch pads, and triggers) of an XRInputSource. Previously the Gamepad API was used in conjunction with the deprecated WebVR API, and was adopted by WebXR with additional ergonomic improvements to support it's input needs. It is being shipped as a module rather than part of the WebXR core API to allow it to evolve more flexibly. #
This feature was specified in this Spec.
Resources
No linked docsSamples: https://immersive-web.github.io/webxr-samples/
aria-help
Remove the aria-help attribute. #
font-optical-sizing
The font-optical-sizing property automatically sets the font-size to the opsz - optical sizing axis of variable fonts that support optical sizing. This improves styling and legibility of fonts depending on font size because the font chooses a glyph shape that works optimally at the given font size. For example, the glyph contrast is improved in fonts in heading sizes when compared to the same font at body text size. See the spec link for an illustration of optical sizing. #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/CSS/font-optical-sizing
No linked sampleslist-style-type: <string>
Allows a stylesheets to use an arbitrary character for the list style marker. Examples include "-", "+", "★" and "▸". Since CSS Level 2, list-style-type has supported keywords like "disc" or "decimal" to define the appearance of the list item marker. #
This feature was specified in this Spec.
Resources
Docs: https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type#%3Cstring%3E
No linked samplesOrigin Trials in-progress in 79
This release of Chrome had 4 new origin trials.
Badging API
Allows web apps (as defined by the Web App Manifest standard) to set an app-wide badge in operating-system-specific places such as the shelf or home screen. Additionally, it gives the app a small, visible place to notify the user of new activity that might require attention, without showing a full notification. It can show additional information, such as an unread count or event type. It allows the app to convey this information when its windows are closed. #
This feature was specified in this Spec.
Resources
Docs: https://web.dev/badging-api
No linked samplesCSS content-visibility property
Adds a CSS property called content-visibility, which allows automatic or script management of content visibility. When hidden, the element's contents (subtree or replaced element contents) are not drawn or hit-tested and have CSS containment applied, allowing for rendering optimizations. The 'auto' keyword allows for the user-agent to manage content visibility based on proximity to the viewport, whereas 'hidden' keyword allows full script control of content visibility. #
This feature was specified in this Spec.
Resources
Docs: https://github.com/WICG/display-locking/blob/master/explainers/content-visibility.mdhttps://drafts.csswg.org/css-contain-2/#content-visibility
No linked samplesPage Lifecycle API
With large numbers of web apps (and tabs) running, critical resources such as memory, CPU, battery, network etc easily get oversubscribed, leading to a bad end user experience. Web lifecycle is a proposal to enable system initiated Tab Discarding and CPU Stopping -- to effectively manage resources for optimal user experience. See explainer: https://github.com/spanicker/web-lifecycle/blob/master/README.md
This feature was specified in this Spec.
Resources
Docs: https://github.com/spanicker/web-lifecycle/blob/master/README.md
No linked samplesScreen Wake Lock API
An API that allows web applications to request a screen wake lock. Under the right conditions, and if allowed, the screen wake lock prevents the system from turning off a device's screen. #
This feature was specified in this Spec.
Resources
Docs: https://web.dev/wake-lock
Samples: https://reillyeon.github.io/scraps/wakelock.html
Flagged features in 79
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 79
This release of Chrome had 0 features deprecated.
Removed features in 79
This release of Chrome had 1 features removed.
-webkit-appearance keywords for arbitrary elements
Changes -webkit-appearance keywords to work only with specific element types. If a keyword is applied to a non-supported element, the element has the default appearance. #
This feature was specified in this Spec.