Skip to content

Commit

Permalink
Revert "PlzDedicatedWorker: Send COEP report for worker initializatio…
Browse files Browse the repository at this point in the history
…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
d0iasm authored and chromium-wpt-export-bot committed Feb 24, 2021
1 parent c1775b5 commit e062bd6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 116 deletions.
87 changes: 0 additions & 87 deletions html/cross-origin-embedder-policy/reporting-to-owner.https.html

This file was deleted.

This file was deleted.

0 comments on commit e062bd6

Please sign in to comment.