Chromium Blog: Chrome 101: Federated Credential Management Origin Trial, Media Capabilities for WebRTC, and More

Unless differently noted, changes described below lend oneself to the newest Chrome beta transmit secrete for Android, Chrome OS, Linux, macOS, and Windows. Learn more about the features listed here through the leave links or from the list on ChromeStatus.com. Chrome 101 is beta as of March 31, 2022. You can download the latest on Google.com for desktop or on Google Play Store on Android .

Reduce User Agent String Information

Chrome is trying to reduce the amount of information the drug user agent string exposes in HTTP requests vitamin a well as in navigator.userAgent, navigator.appVersion, and navigator.platform. We ‘re doing this to prevent the drug user agent string from being used for passive voice user fingerprinting. To join the beginning trial, see its submission on Chrome Origin Trials. See the end of this article for extra deprecations and removals .

Origin Trials

This version of Chrome introduces the origin trial described below. beginning trials allow you to try new features and give feedback on serviceability, practicality, and potency to the web standards community. To register for any of the beginning trials presently supported in Chrome, including the ones described below, visit the Chrome Origin Trials dashboard. To learn more about lineage trials in Chrome, visit the Origin Trials Guide for Web Developers. Microsoft Edge runs its own origin trials separate from Chrome. To learn more, see the Microsoft Edge Origin Trials Developer Console .

New Origin Trial

Federated Credential Management API

Federated Credential Management API ( FedCM ) aims to create privacy-preserving identity confederation and is designed to make identity federation continue to allow use cases without the indigence for cross-site chase such as third-party cookies. This have starts its beginning trial in 101 on Android merely. We expect to add desktop corroborate in Chrome 102.

Completed Origin Trials

The trace feature, previously in a Chrome origin test, is now enabled by nonpayment .

Priority Hints

precedence Hints provides a way to indicate a resource ‘s proportional importance to the browser, allowing more master over the ordering resources are loaded .

Other Features in this Release

AudioContext.outputLatency

AudioContext.outputLatency property is an estimate in seconds of the interval between when the drug user agent requests a horde system to play a cushion and when the beginning sample in the buffer is processed by the audio output device. For devices such as speakers or headphones that produce an acoustic signal, ‘processed by the audio output device ‘ refers to the time when a sample ‘s sound is produced. This property helps developers compensate for the rotational latency between the stimulation and the output. It ‘s besides useful for synchronization of television and sound recording streams .
This place is already implemented in Firefox .

font-palette and Custom @font-palette-values Palettes

The font-palette CSS property allows selecting a palette from a color font. In combination with the @font-palette-values at-rule, customs palettes can be defined. This have is utilitarian in designs where an icon or emoji baptismal font is used with iniquity or light mode, or when using motley icon fonts that use the font-palette to harmonize with the subject ‘s color scheme .

hwb() CSS function

HWB ( short for ‘hue whiteness total darkness ‘ ) is another method of specifying sRGB colors, exchangeable to HSL, but frequently even easier for humans to work with. The hwb() officiate specifies HWB values in CSS. The affair takes three arguments. The first, hue, specifies hue in degrees ( not constrained to the range [ 0, 360 ] ). The next two, whiteness and blackness, are specified as percentages.

Make Popup Argument for window.open() Evaluate to ‘true’

This feature of speech follows a holocene variety to the specification for parsing the popup argument for window.open(). previously, when popup was set equal to true, window.open() was interpreted to mean false. This is counterintuitive and confusing. This change makes boolean features easier to use and understand .

MediaCapabilities API for WebRTC

The MediaCapabilities API has been extended to support WebRTC streams. The MediaCapabilities API helps websites make inform decisions on what codec, solution, etc. to use for video playback by indicating whether a configuration is supported and besides whether the playback is expected to be smooth.
Without this feature, web apps need to guess about suitable configurations. This can result in hapless choice such as when an application uses low resolution or skeletal system rates unnecessarily, or stuttering when the frame rate is besides high gear .

Secure Payment Confirmation API V3

The follow features from interpretation three of the Secure Payment Confirmation API are immediately implemented :

  • A relying party ID that is a required input. Because this is required, existing code will need to be updated.
  • An optional boolean to allow failed instrument icon download.
  • A payeeName property as an optional input.

USBDevice forget()

The USBDevice forget() method acting allows web developers to voluntarily revoke a permission to a USBDevice that was granted by a exploiter .

WebUSB sameObject Behavior

USBConfiguration, USBInterface, USBAlternateInterface, and USBEndpoint instances are now alone rigorously adequate ( “ === ” ) when they are retrieved from accessors on the same USBDevice .

Deprecations, and Removals

This version of Chrome introduces the deprecations and removals listed below. Visit ChromeStatus.com for lists of current deprecations and former removals.

Remove WebSQL in Third-Party Contexts

WebSQL in third-party context is now removed. The Web SQL Database standard was beginning proposed in April 2009 and abandoned in November 2010. Gecko never implemented this feature and WebKit deprecated it in 2019. The W3C encourages Web Storage and Indexed Database for those needing alternatives .
Developers should expect that WebSQL itself will be deprecated and removed when use is depleted enough .

Leave a Reply

Your email address will not be published.