Closed
Bug 1591892
Opened 5 years ago
Closed 5 years ago
Implement self.crossOriginIsolated
Categories
(Core :: DOM: Core & HTML, enhancement)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla72
Tracking | Status | |
---|---|---|
firefox72 | --- | fixed |
People
(Reporter: annevk, Assigned: ytausky)
References
Details
(Keywords: dev-doc-complete)
Attachments
(1 file)
In order to make it easier for developers to figure out if postMessage()
will throw, we should expose that information through self.crossOriginIsolated
, as defined by https://github.com/whatwg/html/pull/4734.
I'll work on adding some tests.
I think we should have this when COOP and COEP are enabled and it should only return true if dom.postMessage.sharedArrayBuffer.withCOOP_COEP is also enabled and the COOP and COEP headers are set appropriately.
Assignee | ||
Updated•5 years ago
|
Assignee: nobody → ytausky
Assignee | ||
Comment 1•5 years ago
|
||
Pushed by ytausky@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8a556d81b030
Expose {window, self}.crossOriginIsolated r=bzbarsky
Comment 3•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox72:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
Updated•5 years ago
|
Keywords: dev-doc-needed
Comment 4•5 years ago
|
||
I've documented this; see https://github.com/mdn/sprints/issues/2461#issuecomment-562748877 for the full details.
Keywords: dev-doc-needed → dev-doc-complete
You need to log in
before you can comment on or make changes to this bug.
Description
•