Chrome 126 beta  |  Blog  |  Chrome for Developers (2024)

Unless otherwise noted, the following changes apply to the newest Chrome betachannel release for Android, ChromeOS, Linux, macOS, and Windows. Learn moreabout the features listed here through the provided links or from the list onChromeStatus.com. Chrome 126 is beta as of 15 May2024. You can download the latest on Google.com for desktop or on Google Play Store on Android.

CSS

This release adds one new CSS feature.

Cross-document view transitions for same-origin navigations

Previously you had to rearchitect your website to an SPA to use the ViewTransitions API. This is no longer the case. View transitions are now enabled bydefault for same-origin navigations. You can create a view transition betweentwo different documents that are the same-origin.

To enable a cross-document view transition, both ends need to opt-in. To dothis, use the @view-transition at-rule and set the navigation descriptor toauto.

@view-transition { navigation: auto;}

Cross-document view transitions use the same building blocks and principles assame-document view transitions. Elements that have a view-transition-nameapplied are captured, and you can customize the animations using CSS animations.

Learn more in the View Transitions API documentation.

Web APIs

This post originally included the Automatic fullscreen content settingfeature, which has now been moved to land in Chrome 127.

Gamepad API trigger-rumble extension

Extends the GamepadHapticActuator interface to expose the trigger-rumblecapability on the Web forcompatible gamepads. This extension will allow web applications that takeadvantage of the Gamepad API to also vibrate the triggers of gamepad devicesthat come equipped with this functionality.

OpusEncoderConfig signal and application parameters

The OpusEncoderConfig.signal and OpusEncoderConfig.application parametersare mapped directly to implementation specific encoder knobs. These allow webauthors to provide hints as to what type of data is being encoded, and in whichcontext the data is being used.

signal can be one of "auto", "music", "voice". It configures the encoderfor the best performance in encoding the specified type of data. applicationcan be one of "voip", "audio", "lowdelay". It configures the encoder tofavor speech intelligibility, faithful reproduction of the original input, orminimal latency.

PointerEvent.deviceId for multi-pen inking

As devices with advanced pen input capabilities are becoming increasinglyprevalent, it is important that the web platform continues to evolve to fullysupport these advanced features in order to unlock rich experiences for both endusers and developers. One such advancement is the ability for a device'sdigitizer to recognize more than one pen device interacting with itsimultaneously.

This feature is an extension to the PointerEvent interface toinclude a new attribute, deviceId, that represents a session-persistent,document isolated, unique identifier that a developer can reliably use toidentify individual pens interacting with the page.

ChromeOS tabbed web apps

PWAs in a standalone window can only have one page open at a time.Some apps expect users to have many pages open at once. Tabbed mode adds a tabstrip to standalone web apps in ChromeOS that allows multiple tabs to be open atonce.

The feature adds a new display mode of "tabbed" and a new manifest field toallow customizations to the tab strip.

toJSON() method for GeolocationCoordinates and GeolocationPosition

Adds .toJSON() methods to the GeolocationCoordinates andGeolocationPosition interfaces. This enables serialization of these objectswith JSON.stringify().

visualViewport onscrollend support

The scrollend JavaScript event fires to signal that a scrolling operation hascome to an end.

The visualViewport interface includes an onscrollend event handler that shouldbe invoked when a scrolling operation on the visualViewport has ended. Chromealready supports adding a scrollend event listener throughvisualViewport.addEventListener("scrollend"). This just makes it possible toalso add an event listener using visualViewport.onscrollend.

WebGLObject Web IDL superinterface

This feature exposes the WebGLObject type in the same contexts where the WebGLAPI is exposed—on the main thread and workers.

WebRTC encoded transform: Modify Metadata functions

Some WebRTC Encoded Transform use cases involve manipulation of not only thepayload of encoded video or audio frames but also its metadata. For example:

Altering the timestamp of a frame to introduce a delay. Changing the mime typeof the frame if the transform changes the type of the payload. Forwarding ofmedia to a new peer connection set up to use different metadata values.

The feature lets the WebRTC Encoded Transform API manipulate audio and videoframe metadata.

SVG support for the Async Clipboard API

Switch to UTF-8 on Windows while writing image/svg+xml format to theclipboard. HTML format already uses UTF-* on Windows and this will allow copyingand pasting SVG images from the clipboard.

On all other supported platforms, image/svg+xml is serialized into UTF-8before it gets written to the clipboard.

Read more in SVG support for the Async Clipboard API.

Re-enabling the CloseWatcher API and close requests for <dialog> and popover=""

The CloseWatcher API allows handling close requests, like the ESC key ondesktop platforms or the back gesture or button on Android, in a uniform way.This feature was originally shipped in Chrome 120,but was disabled dueto an unexpected interaction with <dialog>.It has been reenabledin Chrome 126 after some improvements to its behavior to minimize the problemsseen there.

Support for the UI Automation Accessibility Framework on Windows

Microsoft has worked with the Chrome team to support the UI Automation (UIA)framework on Windows directly, making it easier for accessibility tools tocommunicate with the browser. A gradual rollout to stable, starts in Chromeversion 126. This enables Voice Access to function in all Chromium-basedbrowsers and will enhance the user experience for all UIA-based accessibilitytools, such as Narrator and Magnifier. This work will also eliminate the WindowsUIA emulation layer, which has been the source of many performance issues inChromium on Windows.

Learn more in Introducing UIA support on Windows.

New origin trials

In Chrome 126 you can opt into the following neworigin trials.

FedCM as a trust signal for the Storage Access API

Reconciles the FedCM and Storage Access APIs by making a prior FedCM grant avalid reason to automatically approve a storage access request.

When a user grants permission for using their identity with a third-partyIdentity Provider (IdP) on a Relying Party (RP), many IdPs require third-partycookies to function correctly and securely. This proposal aims to satisfy thatrequirement in a private and secure manner by updating the Storage Access API(SAA) permission checks to not only accept the permission grant that is given bya storage access prompt, but also the permission grant that is given by a FedCMprompt.

A key property of this mechanism is limiting the grant to cases explicitlyallowed by the RP through the FedCM permissions policy, enforcing a per-framecontrol for the RP and preventing passive surveillance by the IdP beyond thecapabilities that FedCM already grants.

Register for FedCM as a trust signal for the Storage Access API origin trial.

Media previews opt-out

This reverse origin trial excludes sites from the launch of Media Previews.

Chrome will provide real-time previews of camera and microphone input at the time camera and microphone permissions are requested by websites. These will also be available from the site's pageinfo.

In addition, users with multiple devices will be able to select a camera and microphone at the time permissions are requested, unless the site has requested a specific device through getUserMedia().

To exclude your site from media previews register for themedia previews opt-out origin trial.

FedCM: Continuation API, Parameters API, Fields API, Multiple configURLs, Custom Account Labels

Developers can start taking part in an origin trial for a bundle of desktopFedCM features that can include authorization. The bundle consists of FedCMContinuation API, Parameter API, Fields API, Multiple configURLs and CustomAccount Labels. This enables an OAuth authorization flow-like experienceinvolving an IdP-provided permission dialog.

Keyboard focusable scroll containers deprecation trial

This feature introduces the following changes:

  • Scrollers are click-focusable and programmatically-focusable by default.
  • Scrollers without focusable children are keyboard-focusable by default.

This is an important improvement to help make scrollers and contents withinscrollers more accessible to all users. You can read more about its benefits inthe postKeyboard focusable scrollers.

We attempted to ship these changes, and found that a limited number of siteshad broken expectations around some of their components. As a result, we had tounship the feature to avoid this breakage. Given the benefits,we are shipping this feature again. To allow more time for the affected sitesto migrate their components, we are starting a deprecation trial. When enabled,this will disable the KeyboardFocusableScrollers feature.

Deprecations and removals

There are no new deprecations or removals in this version of Chrome. However,this is the last Chrome release that supports mutation events. They will beremoved in Chrome 127. ReadMutation events will be removed from Chrometo learn more and prepare for this removal.

Chrome 126 beta  |  Blog  |  Chrome for Developers (2024)
Top Articles
Latest Posts
Article information

Author: Wyatt Volkman LLD

Last Updated:

Views: 5517

Rating: 4.6 / 5 (66 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Wyatt Volkman LLD

Birthday: 1992-02-16

Address: Suite 851 78549 Lubowitz Well, Wardside, TX 98080-8615

Phone: +67618977178100

Job: Manufacturing Director

Hobby: Running, Mountaineering, Inline skating, Writing, Baton twirling, Computer programming, Stone skipping

Introduction: My name is Wyatt Volkman LLD, I am a handsome, rich, comfortable, lively, zealous, graceful, gifted person who loves writing and wants to share my knowledge and understanding with you.