[wpt-sync] Sync PR 23288 - COEP ReportingObserver integration
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox78 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
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.
- Reports sent to the network.
- 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
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
Assignee | ||
Comment 3•4 years ago
|
||
Assignee | ||
Comment 4•4 years ago
|
||
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)
Comment 7•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/180a226742fd
https://hg.mozilla.org/mozilla-central/rev/744afc3e7b62
Description
•