← Back to release summary

Potentially trustworthy data: urls

Category
Network / Connectivity
Type
No developer-visible change
Status
No active development (Chrome No active development)
Intent stage
Prepare to ship

WPT details: https://github.com/web-platform-tests/wpt/pull/21146 https://github.com/web-platform-tests/wpt/pull/21781 More test coverage is likely needed since the Chromium CL does not change the behavior of any of the above tests.

Summary

It is often necessary to evaluate whether a URL is secure in order to only enable certain features when minimum standards of authentication and confidentiality are met. For that purpose, web standards rely on the definition of "potentially trustworthy URL", which includes URLs with the "data" scheme in the latest version of the Secure Contexts specification. Blink already treats data: URLs as potentially trustworthy in some cases. The goal is to generalize this to all cases.

Motivation

- Ensure consistent behavior of "data:" URLs for security purpose within Blink. - Improve web compat by following the standard.

Standards & signals

Ecosystem

Docs: https://github.com/w3c/webappsec-secure-contexts/issues/69 https://chromium-review.googlesource.com/c/chromium/src/+/2563683

View on chromestatus.com