Closed Bug 1633673 Opened 3 months ago Closed 3 months ago

[wpt-sync] Sync PR 23288 - COEP ReportingObserver integration

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Yutaka Hirano <yhirano@chromium.org> wrote:

COEP ReportingObserver integration

Notify reports made by COEP to ReportingObservers registered to
documents and service workers.

Support for dedicated workers is blocked on PlzDedicatedWorker.
Support for shared workers is blocked on COEP support for shared
workers.

TESTING:
Now we have two means to test the COEP reporting functionality.

  1. Reports sent to the network.
  2. Reports observed via ReportingObserver

We need to have some tests with both ways, but we don't need to test
all the cases for both ways, and generally speaking ReportingObserver
is easier to use, and less flaky. Hence this CL makes
cache-storage-reporting-*.https.html use ReportingObserver. This CL
also adds reporting-subresource-corp.https.html for subresource loading
cases. I'm planning to make more COEP reporting tests use
ReportingObserver in the future.

Bug: 1052764
Change-Id: Idc670bfc957f05aae813c4a3bce7e361293fc716
Reviewed-on: https://chromium-review.googlesource.com/2160291
WPT-Export-Revision: d34384e0e3a80d98ccf9c7dd106da27a70094fc4

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
PR 23288 applied with additional changes from upstream: 622c9625dddfdef0c6dfafa8fa00d5119db50201, 5681e96ff1cc7f2516c73f377639011aee94bc26
PR 23288 applied with additional changes from upstream: 622c9625dddfdef0c6dfafa8fa00d5119db50201, 5681e96ff1cc7f2516c73f377639011aee94bc26

CI Results

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

Total 76 tests

Status Summary

Firefox

OK : 1[Gecko-windows10-64-debug, Gecko-windows10-64-qr-debug, Gecko-windows7-32-debug] 4[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-opt, Gecko-windows10-64-qr-opt, Gecko-windows7-32-opt, GitHub]
PASS : 8[GitHub] 79[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt]
FAIL : 8[Gecko-windows10-64-debug, Gecko-windows10-64-qr-debug, Gecko-windows7-32-debug] 14[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-opt, Gecko-windows10-64-qr-opt, Gecko-windows7-32-opt, GitHub]
TIMEOUT: 2
NOTRUN : 1

Chrome

OK : 4
PASS : 8
FAIL : 14
TIMEOUT: 2
NOTRUN : 1

Safari

OK : 2
FAIL : 16
TIMEOUT: 4
ERROR : 2
NOTRUN : 5

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/html/cross-origin-embedder-policy/cache-storage-reporting-document.https.html: SKIP [Gecko-windows10-64-debug, Gecko-windows10-64-qr-debug, Gecko-windows7-32-debug], TIMEOUT [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-opt, Gecko-windows10-64-qr-opt, Gecko-windows7-32-opt, GitHub] (Chrome: TIMEOUT, Safari: OK)
COEP support on document.: TIMEOUT (Chrome: TIMEOUT, Safari: FAIL)
COEP-Report-Only support on document.: NOTRUN (Chrome: NOTRUN, Safari: FAIL)
/html/cross-origin-embedder-policy/cache-storage-reporting-shared-worker.https.html: OK [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-opt, Gecko-windows10-64-qr-opt, Gecko-windows7-32-opt, GitHub], SKIP [Gecko-windows10-64-debug, Gecko-windows10-64-qr-debug, Gecko-windows7-32-debug] (Chrome: OK, Safari: OK)
COEP-Report-Only support on SharedWorker.: FAIL (Chrome: FAIL, Safari: FAIL)
COEP support on SharedWorker.: FAIL (Chrome: FAIL, Safari: FAIL)
/html/cross-origin-embedder-policy/reporting-subresource-corp.https.html
[shared worker] blocked due to COEP: FAIL (Chrome: FAIL, Safari: FAIL)
[document] blocked during redirect: FAIL (Chrome: FAIL, Safari: FAIL)
[dedicated worker] blocked due to COEP: FAIL (Chrome: FAIL, Safari: FAIL)
[dedicated worker] blocked during redirect: FAIL (Chrome: FAIL, Safari: FAIL)
[service worker] blocked due to COEP: FAIL (Chrome: FAIL, Safari: NOTRUN)
[document] blocked due to COEP: FAIL (Chrome: FAIL, Safari: FAIL)
[shared worker] blocked during redirect: FAIL (Chrome: FAIL, Safari: FAIL)
[service worker] blocked during redirect: FAIL (Chrome: FAIL, Safari: NOTRUN)
/html/cross-origin-embedder-policy/cache-storage-reporting-service-worker.https.html: OK [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-opt, Gecko-windows10-64-qr-opt, Gecko-windows7-32-opt, GitHub], SKIP [Gecko-windows10-64-debug, Gecko-windows10-64-qr-debug, Gecko-windows7-32-debug] (Chrome: OK, Safari: TIMEOUT)
COEP support on ServiceWorker.: FAIL (Chrome: FAIL, Safari: TIMEOUT)
COEP-Report-Only support on ServiceWorker.: FAIL (Chrome: FAIL, Safari: NOTRUN)
/html/cross-origin-embedder-policy/cache-storage-reporting-dedicated-worker.https.html: OK [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-opt, Gecko-windows10-64-qr-opt, Gecko-windows7-32-opt, GitHub], SKIP [Gecko-windows10-64-debug, Gecko-windows10-64-qr-debug, Gecko-windows7-32-debug] (Chrome: OK, Safari: ERROR)
COEP support on DedicatedWorker.: FAIL (Chrome: FAIL, Safari: TIMEOUT)
COEP-Report-Only support on DedicatedWorker.: FAIL (Chrome: FAIL, Safari: NOTRUN)

Tests Disabled in Gecko Infrastructure

/html/cross-origin-embedder-policy/cache-storage-reporting-document.https.html: SKIP [Gecko-windows10-64-debug, Gecko-windows10-64-qr-debug, Gecko-windows7-32-debug], TIMEOUT [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-opt, Gecko-windows10-64-qr-opt, Gecko-windows7-32-opt, GitHub] (Chrome: TIMEOUT, Safari: OK)
/html/cross-origin-embedder-policy/cache-storage-reporting-shared-worker.https.html: OK [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-opt, Gecko-windows10-64-qr-opt, Gecko-windows7-32-opt, GitHub], SKIP [Gecko-windows10-64-debug, Gecko-windows10-64-qr-debug, Gecko-windows7-32-debug] (Chrome: OK, Safari: OK)
/html/cross-origin-embedder-policy/cache-storage-reporting-service-worker.https.html: OK [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-opt, Gecko-windows10-64-qr-opt, Gecko-windows7-32-opt, GitHub], SKIP [Gecko-windows10-64-debug, Gecko-windows10-64-qr-debug, Gecko-windows7-32-debug] (Chrome: OK, Safari: TIMEOUT)
/html/cross-origin-embedder-policy/cache-storage-reporting-dedicated-worker.https.html: OK [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-opt, Gecko-windows10-64-qr-opt, Gecko-windows7-32-opt, GitHub], SKIP [Gecko-windows10-64-debug, Gecko-windows10-64-qr-debug, Gecko-windows7-32-debug] (Chrome: OK, Safari: ERROR)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7653d8ea2bb1
[wpt PR 23288] - COEP ReportingObserver integration, a=testonly
https://hg.mozilla.org/integration/autoland/rev/39802676a7be
[wpt PR 23288] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/180a226742fd
[wpt PR 23288] - COEP ReportingObserver integration, a=testonly
https://hg.mozilla.org/integration/autoland/rev/744afc3e7b62
[wpt PR 23288] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in before you can comment on or make changes to this bug.