Chrome 103 稳定版发布啦。

Chrome 103 引入了 103 Early Hints HTTP 响应代码进行导航的支持,当 103 响应包含 <link rel=preload> 或其他链接标头时,Chrome 会在收到响应之前尝试预加载指定资源。该功能为 Web 开发人员提供了一种优化核心 Web Vitals 的方法,例如最大内容绘制 (LCP)。

Chrome 103 Beta 还添加了 “deflate-raw” 压缩格式支持,允许 Web 开发人员在没有任何页眉 / 页脚的情况下访问原始 deflate 流,这种 deflate-raw 支持可帮助 Web 应用程序读取和写入 zip 文件。

此外,Chrome 103 改进了本地字体访问功能,允许枚举本地字体和所述字体的元数据,以便在 Web 应用程序中用于自定义的文本堆栈。

角色属性的 ARIA 属性反射 :该功能提供了一个 JavaScript AP,允许 Web 开发人员直接查询和修改 “角色” ARIA 属性。实现了 “角色” 属性的属性反射。

此外还有新的 AbortSignal.timeout () 静态方法 ,它返回一个新的 AbortSignal 对象,该对象在给定的毫秒数后自动中止。开发人员可以使用此方法轻松实现信号接收异步 API 的超时,例如 fetch ()。

更多内容可在 Chrome 博客 中阅读,关于 103 版本的更多功能可在 ChromeStatus.com 查看。

Chrome 103 stable release is out.

Chrome 103 introduced support for navigation with the 103 Early Hints HTTP response code. When the 103 response contains <link rel=preload> or other link headers, Chrome will attempt to preload the specified resource before receiving the response. This feature provides web developers a way to optimize core web vitals, such as maximum content rendering (LCP).

Chrome 103 Beta also adds “deflate-raw” compression format support, allowing web developers to access raw deflate streams without any header/footer, this deflate-raw support helps web applications read and write into the zip file.

Additionally, Chrome 103 improves local font access, allowing enumeration of local fonts and said font metadata for use in custom text stacks in web applications.

ARIA Property Reflection for Role Properties: This feature provides a JavaScript AP that allows web developers to directly query and modify “role” ARIA properties. Implemented property reflection for the “role” property.

There is also the new AbortSignal.timeout() static method, which returns a new AbortSignal object that automatically aborts after a given number of milliseconds. Developers can use this method to easily implement timeouts for signal-received asynchronous APIs, such as fetch().

Read more on the Chrome Blog, and more about version 103 at ChromeStatus.com.

发表评论

后才能评论