Here’s what you need to know:
- WebGPU is here, it allows high-performance 3D graphics and data-parallel computation on the web.
- Devtools can now override network response headers.
- First Party Sets, part of the Privacy Sandbox, that allows organizations to declare related sites is starting to roll out.
- And there’s plenty more.
I’m Adriana Jara. Let’s dive in and see what’s new for developers in Chrome 113.
WebGPU is here.
WebGPU is a new API for the web, which exposes modern hardware capabilities and allows rendering and computation operations on a GPU, similar to Direct3D 12, Metal, and Vulkan.
Unlike the WebGL family of APIs, WebGPU offers access to more advanced GPU features and provides first-class support for general computations on the GPU.
The API is designed with the web platform in mind. It features:
An idiomatic JavaScript API.
Integration with promises.
Support for importing videos.
A polished developer experience with great error messages.
Many widely used WebGL libraries are already working on implementing WebGPU support or have already done so. This means that using WebGPU may only require making a single line change, for example:
- Babylon.js: Has full WebGPU support already.
- PlayCanvas: Has announced initial WebGPU support.
- TensorFlow.js: Supports WebGPU-optimized versions of most operators.
- Three.js: WebGPU support is under development.
Check out WebGPU’s documentation on MDN for all the details.
Devtools response headers override.
In DevTools you can now override response headers in the Network panel.
Previously, you needed access to the web server to experiment with HTTP response headers.
With response header overrides, you can locally prototype fixes for various headers, including but not limited to:
- Cross-Origin Resource Sharing (CORS) Headers
- Permissions-Policy Headers
- Cross-Origin Isolation Headers
To override a header, navigate to Network > Headers > Response Headers,
hover over a header’s value, click Edit and edit it.
You can also add a new header:
And edit all overrides in a single place.
Check out this article for instructions on how to use this feature and other updates in DevTools
First-Party Sets is rolling out.
First-Party Sets (FPS) is starting to roll out to stable. First Party Sets is part of the Privacy Sandbox. It is a way for organizations to declare relationships among sites, so that browsers allow limited third-party cookie access for specific purposes.
As part of the work on First-Party Sets, Chrome is implementing and extending the Storage Access API allowing a site to request access to their cookies in a third-party context.
With it, organizations with related sites (for example, using different domain names, or country-specific domains) can still provide services like single sign-on or shared sessions.
Remember! This API will be rolled out slowly to users over a number of weeks to enable testing and evaluation.
And more!
Of course there’s plenty more.
- The unprefixed image-set type is now available so authors don’t need to use
-webkit-image-set
and it is up to date to the current spec. - The
overflow-inline
andoverflow-block
media features are now supported. - There is an origin trial for WebGPU WebCodecs integration.
Further reading
This covers only some key highlights. Check the links below for
additional changes in Chrome 113.
- What’s new in Chrome DevTools (113)
- Chrome 113 deprecations and removals
- ChromeStatus.com updates for Chrome 111
- Chromium source repository change list
- Chrome release calendar
Subscribe
To stay up to date, subscribe to the
Chrome Developers YouTube channel,
and you’ll get an email notification whenever we launch a new video.
I’m Adriana Jara, and as soon as Chrome 114 is released, I’ll be right here to
tell you what’s new in Chrome!
This post is also available in: English