[wpt-sync] Sync PR 27380 - PlzDedicatedWorker: Send COEP report for worker initialization failure
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox87 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 27380 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/27380
Details from upstream follow.
b'Asami Doi <asamidoi@chromium.org>' wrote:
PlzDedicatedWorker: Send COEP report for worker initialization failure
This CL sends COEP violation reports during the worker initialization
process.The corresponded spec is here:
https://html.spec.whatwg.org/C/#check-a-global-object's-embedder-policy
- If ownerPolicy's report-only value is "require-corp" and policy's
value is "unsafe-none", then queue a cross-origin embedder policy
inheritance violation with response, "worker initialization", owner's
policy's report only reporting endpoint, "reporting", and owner.- Queue a cross-origin embedder policy inheritance violation with
response, "worker initialization", owner's policy's reporting endpoint,
"enforce", and owner.Also adds WPT to check if the owner iframe can observe reports via
ReportingObserver API. Tests pass with PlzDedicatedWorker and fail with
non-PlzDedicatedWorker.Bug: 1171094, 1060837
Change-Id: Ida5eab351879a6793c412dccc8b0cff38c38e906
Reviewed-on: https://chromium-review.googlesource.com/2650015
WPT-Export-Revision: daee5293919a3a7230bc3b82953eefe4f523aacd
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 9 subtests
Status Summary
Firefox
PASS : 3
TIMEOUT: 2
NOTRUN : 5
Chrome
PASS : 3
TIMEOUT: 2
NOTRUN : 5
Safari
PASS : 3
TIMEOUT: 2
NOTRUN : 5
Links
Details
New Tests That Don't Pass
/html/cross-origin-embedder-policy/reporting-to-owner.https.html: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
Reporting to coep-report-only frame with coep-none worker: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
Reporting to coep-report-only frame with coep-report-only worker: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Reporting to coep-report-only frame with coep-require-corp worker: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Reporting to coep-require-corp frame with coep-none worker: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Reporting to coep-require-corp frame with coep-report-only worker: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Reporting to coep-require-corp frame with coep-require-corp worker: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
Comment 4•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/28c6d185fee7
https://hg.mozilla.org/mozilla-central/rev/b61576b0a17d
Description
•