Document-Isolation-Policy allows a document to enable crossOriginIsolation for itself, without having to deploy COOP or COEP, and regardless of the crossOriginIsolation status of the page. The policy is backed by process isolation. Additionally, the document non-CORS cross-origin subresources will either be loaded without credentials or will need to have a CORP header.
None
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
We have no plans on launching the feature in Android WebView in the foreseeable future due to lack of process isolation in Android WebView.
None
We are planning to launch in M137 on desktop only (ChromeOS, Linux, Windows, MacOS). Android requires more development work due to the different process allocation model. We will add support on Android as soon as possible. However, we'd like to launch for desktop as soon as possible to help developers currently in the ungated SAB reverse origin trial get off the deprecation OT. Support on Android WebView is not possible due to the lack of process isolation.
https://wpt.fyi/results/html/document-isolation-policy?label=experimental&label=master&aligned
Shipping on desktop | 137 |
Origin trial desktop first | 132 |
Origin trial desktop last | 134 |
Origin trial extension 1 end milestone | 136 |
Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way).
NoneThis generally looks really good, with an amazing detailed explainer and similarly-detailed spec. I am excited to approve it.However I have a couple of questions about mismatches between the explainer and spec I'd like to hear back on first:
- https://github.com/WICG/document-isolation-policy/blob/main/README.md#reporting seems pretty different from the only reporting support I find in the spec, at https://wicg.github.io/document-isolation-policy/#queue-a-document-isolation-policy-corp-violation-report
- https://github.com/WICG/document-isolation-policy/blob/main/README.md#interactions-with-workers talks about worker inheritance, but I don't see any of that in the spec. (Maybe it's taken care of automatically by the policy container infrastructure or something similar?)