Google Chrome 97 stable release with many APIs added, including APIs that can communicate in real time in both directions



Version 97.0.4692.71, the latest stable version of the web browser ' Google Chrome', has been released. Many APIs have been added, including an API that supports real-time communication with the server.

New in Chrome 97: Web Transport, Script type Detection, and more! --YouTube


◆ API 'Web Transport ' that can exchange data in real time and in both directions has been added.
Chrome 97 has added a new 'Web Transport' API as one of the options for building apps that exchange data in real time, such as chat and video conferences. For real-time communication, APIs called WebSockets and WebRTC are already prepared, and a third option will be added here. Unlike P2P-oriented WebRTC, Web Transport is optimized for communication between clients and servers. Furthermore, it seems that the latency is also improved compared to WebSockets.



If it is a server that supports HTTP / 3, you can start using it without any other settings, and it has the advantage of reducing the time and effort of setting and maintenance compared to WebRTC.

◆ An API that allows you to check whether it supports the new JavaScript loading method has appeared.
By using the '

HTMLScriptElement.supports () ' API, it is now possible to check whether new types of JavaScript such as 'module', 'import map', and 'speculation rules' are supported.



◆ Added API to search array from behind
'FindLast ()' and 'findLastIndex ()' APIs have been added to Array and TypedArray. Similar to the conventional 'find ()', it is a function that searches for a value that matches the condition, but unlike find, it starts searching from the back.



◆ Other updates
-The handling of line breaks in the form matches with other browsers.
-'Calc ()' can be used for all CSS elements that can set integers.

Chrome 97 also contains 37 security bug fixes .

in Software, Posted by log1d_ts