[wpt-sync] Sync PR 27755 - Revert "PlzDedicatedWorker: Send COEP report for worker initialization failure"
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox88 fixed)
| Tracking | Status | |
|---|---|---|
| firefox88 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 27755 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/27755
Details from upstream follow.
b'Asami Doi <asamidoi@chromium.org>' wrote:
Revert "PlzDedicatedWorker: Send COEP report for worker initialization failure"
This reverts commit 15a3b50680c497dd442927fb7033f852b25e0d24.
Reason for revert: crashes in RenderFrameHostImpl::CreateDedicatedWorkerHostFactory https://crbug.com/1180505
Original change's description:
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/c/chromium/src/+/2650015
Commit-Queue: Asami Doi \<asamidoi@chromium.org>
Reviewed-by: Yutaka Hirano \<yhirano@chromium.org>
Reviewed-by: Makoto Shimazu \<shimazu@chromium.org>
Reviewed-by: Hiroki Nakagawa \<nhiroki@chromium.org>
Reviewed-by: Kinuko Yasuda \<kinuko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#850107}Bug: 1171094
Bug: 1060837
Bug: 1180505
Change-Id: I2803227fa27b308cb27a6999b2d0f72cad19cf1aReviewed-on: https://chromium-review.googlesource.com/2717382
WPT-Export-Revision: 1b138230df2b1e5b39544ee2fdd7c2792f9a702a
| Assignee | ||
Comment 1•4 years ago
|
||
Comment 3•4 years ago
|
||
| bugherder | ||
Description
•