Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "PlzDedicatedWorker: Send COEP report for worker initializatio…
…n 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 > > 4. 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. > > 6. 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 <[email protected]> > Reviewed-by: Yutaka Hirano <[email protected]> > Reviewed-by: Makoto Shimazu <[email protected]> > Reviewed-by: Hiroki Nakagawa <[email protected]> > Reviewed-by: Kinuko Yasuda <[email protected]> > Cr-Commit-Position: refs/heads/master@{#850107} Bug: 1171094 Bug: 1060837 Bug: 1180505 Change-Id: I2803227fa27b308cb27a6999b2d0f72cad19cf1a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2717382 Reviewed-by: Yutaka Hirano <[email protected]> Reviewed-by: Kinuko Yasuda <[email protected]> Reviewed-by: Matt Falkenhagen <[email protected]> Commit-Queue: Asami Doi <[email protected]> Cr-Commit-Position: refs/heads/master@{#857038}
- Loading branch information