← Back to release summary

Feature Policy control over document.domain

Category
Security
Type
New or changed feature
Status
Enabled by default (Chrome 77)
Intent stage
Prepare to ship

WPT details: https://wpt.fyi/results/html/browsers/origin/relaxing-the-same-origin-restriction/document_domain_feature_policy.tentative.sub.html?label=master&product=chrome%5Bexperimental%5D&product=edge&product=firefox%5Bexperimental%5D&product=safari%5Bexperimental%5D&aligned

Summary

The document-domain policy governs access to document.domain. It is enabled by default, and, if disabled, attempting to set document.domain will throw an error.

Standards & signals

Ecosystem

Docs: https://github.com/WICG/feature-policy/issues/241

Explainers: https://github.com/w3c/webappsec-feature-policy/issues/241

View on chromestatus.com