[wpt-sync] Sync PR 58274 - Allow JS Self-Profiling in Dedicated Workers
Categories
(Core :: DOM: Performance APIs, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox150 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 58274 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/58274
Details from upstream follow.
Monica Chintala <monicach@microsoft.com> wrote:
Allow JS Self-Profiling in Dedicated Workers
Document Policy is now inherited by Dedicated Workers (see
https://chromium-review.googlesource.com/c/chromium/src/+/7236250).This change allows the JS Self-Profiling API to be used in workers when
Document Policy is enabled and the js-profiling feature is allowed via
the Document-Policy: js-profiling response header.This CL also adds WPT tests to verify that Dedicated Workers can use the
profiling API when the js-profiling feature is enabled through Document
Policy.Spec PR (merged) - https://github.com/WICG/js-self-profiling/pull/88
ChromeStatus - https://chromestatus.com/feature/5159559872249856 I2P -
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/69975252.050a0220.1f729.0da6.GAE%40google.comBug: 482085416
Change-Id: Ica61d6d2169926095f29f7a82e482acba56c7fc2
Reviewed-on: https://chromium-review.googlesource.com/7546208
WPT-Export-Revision: 33e04807307308a72141600d55da6969c56e5c43
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
| Assignee | ||
Comment 2•2 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 4 tests and 1 subtests
Status Summary
Firefox
OK : 4
FAIL: 4
Chrome
OK : 4
FAIL: 4
Safari
OK : 4
FAIL: 4
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /js-self-profiling/with-document-policy/dedicated-worker-blob.https.html [wpt.fyi]:
OK[GitHub],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-24h2-debug,Gecko-windows11-32-24h2-opt,Gecko-windows11-64-24h2-debug,Gecko-windows11-64-24h2-opt] (Chrome:OK, Safari:OK)- blob: dedicated worker should inherit js-profiling policy from creator document:
FAIL(Chrome:FAIL, Safari:FAIL)
- blob: dedicated worker should inherit js-profiling policy from creator document:
- /js-self-profiling/with-document-policy/dedicated-worker-data.https.html [wpt.fyi]:
OK[GitHub],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-24h2-debug,Gecko-windows11-32-24h2-opt,Gecko-windows11-64-24h2-debug,Gecko-windows11-64-24h2-opt] (Chrome:OK, Safari:OK)- data: dedicated worker should inherit js-profiling policy from creator document:
FAIL(Chrome:FAIL, Safari:FAIL)
- data: dedicated worker should inherit js-profiling policy from creator document:
- /js-self-profiling/with-document-policy/dedicated-worker-no-policy.https.html [wpt.fyi]:
OK[GitHub],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-24h2-debug,Gecko-windows11-32-24h2-opt,Gecko-windows11-64-24h2-debug,Gecko-windows11-64-24h2-opt] (Chrome:OK, Safari:OK)- profiling should be blocked for network worker without document policy header:
FAIL(Chrome:FAIL, Safari:FAIL)
- profiling should be blocked for network worker without document policy header:
- /js-self-profiling/with-document-policy/dedicated-worker.https.html [wpt.fyi]:
OK[GitHub],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-24h2-debug,Gecko-windows11-32-24h2-opt,Gecko-windows11-64-24h2-debug,Gecko-windows11-64-24h2-opt] (Chrome:OK, Safari:OK)- profiling should succeed in dedicated worker with document policy enabled:
FAIL(Chrome:FAIL, Safari:FAIL)
- profiling should succeed in dedicated worker with document policy enabled:
Tests Disabled in Gecko Infrastructure
- /js-self-profiling/with-document-policy/dedicated-worker-blob.https.html [wpt.fyi]:
OK[GitHub],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-24h2-debug,Gecko-windows11-32-24h2-opt,Gecko-windows11-64-24h2-debug,Gecko-windows11-64-24h2-opt] (Chrome:OK, Safari:OK) - /js-self-profiling/with-document-policy/dedicated-worker-data.https.html [wpt.fyi]:
OK[GitHub],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-24h2-debug,Gecko-windows11-32-24h2-opt,Gecko-windows11-64-24h2-debug,Gecko-windows11-64-24h2-opt] (Chrome:OK, Safari:OK) - /js-self-profiling/with-document-policy/dedicated-worker-no-policy.https.html [wpt.fyi]:
OK[GitHub],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-24h2-debug,Gecko-windows11-32-24h2-opt,Gecko-windows11-64-24h2-debug,Gecko-windows11-64-24h2-opt] (Chrome:OK, Safari:OK) - /js-self-profiling/with-document-policy/dedicated-worker.https.html [wpt.fyi]:
OK[GitHub],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-24h2-debug,Gecko-windows11-32-24h2-opt,Gecko-windows11-64-24h2-debug,Gecko-windows11-64-24h2-opt] (Chrome:OK, Safari:OK)
Description
•