Closed Bug 1618527 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 22005 - Introduce COEP reporting for CORP (3/3)

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 22005 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/22005
Details from upstream follow.

Yutaka Hirano <yhirano@chromium.org> wrote:

Introduce COEP reporting for CORP (3/3)

1: https://crrev.com/c/2074177
2: https://crrev.com/c/2075002
3: [this]

This series of CLs implements https://github.com/mikewest/corpp/pull/9.
We introduce network::mojom::CrossOriginEmbedderPolicyReporter and
its implementation content::CrossOriginEmbedderPolicyReporter, implement
the reporting logic in content::CrossOriginEmbedderPolicyReporter and
the CORP check, and plumb the mojo interface.

This CL creates CrossOriginEmbedderPolicyReport during the frame
navigation and dedicated worker initialization, and give it to the
network service so that (possibly potential) CORP blocks are reported.

Bug: 1052764
Change-Id: Ia39ff8277eb23d96025f5e6fba4e5a4fa6ffde70
Reviewed-on: https://chromium-review.googlesource.com/2076223
WPT-Export-Revision: cfd12d965842f61a892a9660ebc219b6768eb956

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 2 tests and 4 subtests

Status Summary

Firefox

OK : 2
PASS: 4
FAIL: 1

Chrome

OK : 2
PASS: 4
FAIL: 1

Safari

OK : 2
PASS: 3
FAIL: 2

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/html/cross-origin-embedder-policy/reporting.https.html
report-to parameter for COEP and COEP-report-only: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/928df8a4bbe0
[wpt PR 22005] - Introduce COEP reporting for CORP (3/3), a=testonly
https://hg.mozilla.org/integration/autoland/rev/5e91832975d8
[wpt PR 22005] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.