Google heeft versie 97 van zijn webbrowser Chrome uitgebracht. Google Chrome is beschikbaar voor Windows, Linux en macOS. Er zijn ook versies voor Android en iOS, maar die volgen een iets ander releaseschema. Nieuw in versie 97 is onder meer de mogelijkheid te zoeken in elementen die gesloten zijn. Als het gezochte resultaat in zo'n gesloten element zit, wordt dit automatisch geopend. Meer informatie over de veranderingen die in deze uitgave zijn aangebracht, naast de gebruikelijke bug- en security fixes, kunnen hieronder worden gevonden.
Release Auto-expand Details ElementsClosed details elements are now searchable and can now be linked to. These hidden elements will also automatically expand when
Content-Security-Policy Delivery via Response Headers for Dedicated Workers.find-in-page
,ScrollToTextFragment
, and element fragment navigation are used.Dedicated workers are now governed by Content Security Policy. Previously, Chrome incorrectly applied the Content Security Policy of the owner document.
CSS
font-synthesis PropertyThe
transform: perspective(none)font-synthesis
CSS property controls whether user agents are allowed to synthesize oblique, bold, and small-caps font faces when a font family lacks oblique, bold, and small-caps faces, respectively. Without thefont-synthesis
property some web pages that do not have font families with the required variations may have unnatural forms of fontsThe
Feature Policy for Keyboard APIperspective()
function now supports the value'none'
as an argument. This causes the function to behave as though it were passed an argument that is infinite. This makes it easier (or, in some cases, possible) to do animations involving theperspective()
function where one of the endpoints of the animation is the identity matrix.Chrome supports a new
HTMLScriptElement.supports() Methodkeyboard-map
value for the allow list of a feature policy.Keyboard.getLayoutMap()
helps identify a key pressed key for different keyboard layouts such as English and French. This method is unavailable in iframe elements. The architecture of some web apps (Excel, Word, and PowerPoint) that could not use the Keyboard API can now do so.The
Late Newline Normalization in Form SubmissionHTMLScriptElement.supports()
method provides a unified way to detect new features that use script elements. Currently there is no simple way to know what kind of types can be used for the type attribute ofHTMLScriptElement
.Newlines in form entries are now normalized the same as Gecko and WebKit, solving a long-standing interoperability problem where Gecko and WebKit normalized newlines late, while Chrome did them early. Starting in Chrome 97, early normalization is removed and late normalization is extended to all encoding types.
Standardize Existing Client Hint NamingChrome 97 standardizes client hint names by prefixing them with
WebTransportSec-CH-
. Affected client hints aredpr
,width
,viewport-width
,device-memory
,rtt
,downlink
, andect
. Chrome will continue to support existing versions of these hints. Nevertheless, web developers should plan for their eventual deprecation and removal.WebTransport is a protocol framework that enables clients constrained by the Web security model to communicate with a remote server using a secure multiplexed transport.
Currently, Web application developers have two APIs for bidirectional communications with a remote server:
JavaScriptWebSockets
andRTCDataChannel
.WebSockets
are TCP-based, thus having all of the drawbacks of TCP (head of line blocking, lack of support for unreliable data transport) that make it a poor fit for latency-sensitive applications.RTCDataChannel
is based on the Stream Control Transmission Protocol (SCTP), which does not have these drawbacks; however, it is designed to be used in a peer-to-peer context, which causes its use in client-server settings to be fairly low.WebTransport
provides a client-server API that supports bidirectional transfer of both unreliable and reliable data, using UDP-like datagrams and cancellable streams.WebTransport
calls are visible in the Network panel of DevTools and identified as such in the Type column. For more information, see Experimenting with WebTransport.This version of Chrome incorporates version x.x of the V8 JavaScript engine. It specifically includes the changes listed below. You can find a complete list of recent features in the V8 release notes.
Array and TypedArray findLast() and findLastIndex()Deprecations and Removals
Array
andTypedArray
now support thefindLast()
andfileLastIndex()
static methods. These functions are analogous tofind()
andfindIndex()
but search from the end of an array instead of the beginning.This version of Chrome introduces the deprecations and removals listed below. Visit ChromeStatus.com for lists of current deprecations and previous removals.
Remove SDES Key Exchange for WebRTCThe SDES key exchange mechanism for WebRTC has been declared a MUST NOT in the relevant IETF standards since 2013. The SDES specification has been declared historic by the IETF. Its usage in Chrome has declined significantly over the recent year. Consequently it is removed as of Chrome 97.
Remove WebSQL in Third-Party ContextsWebSQL in third-party contexts is now removed. The Web SQL Database standard was first 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.
Remove SDP Plan BThe Session Description Protocol (SDP) used to establish a session in WebRTC has been implemented with two different dialects in Chromium: Unified Plan and Plan B. Plan B is not cross-browser compatible and is hereby removed.