diff --git a/README.md b/README.md index 301332e..ad1f33a 100644 --- a/README.md +++ b/README.md @@ -774,7 +774,7 @@ Related origins can still deduplicate downloads themselves, with Web Locks, a `B A `CrossOriginStorageManager` uses the origin of its context. For a worker, that is the origin of the worker's environment settings object, independent of its script URL: - **Workers created from a `blob:` URL** have the origin of the context that created them and share that page's COS view: each reads what the other stored, and the worker's writes count as the page's own. Revoking the `blob:` URL does not change this. -- **Workers created from a `data:` URL** have an opaque origin, which has no stable identity to key storing origins or same-site checks on. This proposal does not yet define what `getFileHandle()` does for an opaque calling origin; the opaque-origin rule in "validate a COS request" covers only the origins a caller names in `origins`. Implementations should at minimum reject such calls promptly, so the returned promise never stays pending. +- **Workers created from a `data:` URL** have an opaque origin, which has no stable identity to key storing origins or same-site checks on. `getFileHandle()` therefore rejects with a `NotAllowedError` when the calling origin is opaque, as it also does for a sandboxed `