Sanitizer API deprecation

Published on

Work on the Sanitizer API began in 2020, with the aim of building a secure API to sanitize HTML on browsers.

Chrome shipped an initial version of the Sanitizer API in Chrome 105, based on the specification draft at that time. We introduced this version of the API to developers, and gathered useful implementation experience.

However, changes to the specification mean that the proposed API shape has changed substantially. To prevent the current API from becoming entrenched, we decided to deprecate the current implementation in Chrome 119.

See more details in Intent to Deprecate: Remove "Sanitizer API MVP".

The new API is still being discussed in the WICG, and we intend to implement the result in Chrome when the specification matures. We'll post an article to introduce it once it’s ready.

Published on Improve article

Back

Chromium issue tracker migration

Next

Serial over Bluetooth on the web

This site uses cookies to deliver and enhance the quality of its services and to analyze traffic. If you agree, cookies are also used to serve advertising and to personalize the content and advertisements that you see. Learn more about our use of cookies.