[wpt-sync] Sync PR 64126 - Speculative load measurement - move to dictionaries
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox162 fixed)
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 64126 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64126
Details from upstream follow.
Yoav Weiss <yoavweiss@chromium.org> wrote:
Speculative load measurement - move to dictionaries
The current implementation of
performance.getSpeculations()returns an
object with no toJSON implementation. That means it doesn’t serialize
its data.Moving the return values to dictionaries seems more idiomatic
from a WebIDL perspective, and enables serialization with less code.Change-Id: I8f1ff1eecc6e1c48548a5ec3d0e9bad75b5e051d
Bug: 575677380
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8617337
Reviewed-by: Barry Pollard \<barrypollard@chromium.org>
Commit-Queue: Yoav Weiss (@Shopify) \<yoavweiss@chromium.org>
Reviewed-by: Noam Rosenthal \<nrosenthal@google.com>
Cr-Commit-Position: refs/heads/main@{#1726277}
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•26 days ago
|
| Assignee | ||
Comment 1•26 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=114106
| Assignee | ||
Comment 2•24 days ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 13 tests and 8 subtests
Status Summary
Firefox
OK : 2[GitHub] 7[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-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 2
FAIL : 18[GitHub] 28[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-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
ERROR: 2[GitHub] 6[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-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
Chrome
OK : 4
PASS : 26
FAIL : 4
Safari
OK : 2
FAIL : 18
ERROR: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /speculation-rules/speculation-measurement/performance-speculations-multiple-early-hints-preconnect.tentative.h2.window.html [wpt.fyi]
- Only the first of multiple 103 Early Hints responses contributes preconnects:
FAIL
- Only the first of multiple 103 Early Hints responses contributes preconnects:
- /speculation-rules/speculation-measurement/performance-speculations-navigation-destination-url.tentative.https.html [wpt.fyi]:
ERROR - /speculation-rules/speculation-measurement/performance-speculations-navigations-eagerness.tentative.https.html [wpt.fyi]:
ERROR - /speculation-rules/speculation-measurement/performance-speculations-navigations-pointerdown.tentative.https.html [wpt.fyi]:
ERROR - /speculation-rules/speculation-measurement/performance-speculations-navigations.tentative.https.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR) - /speculation-rules/speculation-measurement/performance-speculations-preconnect-response-header.tentative.html [wpt.fyi]
- performance.getSpeculations(): preconnects from final-response Link headers:
FAIL
- performance.getSpeculations(): preconnects from final-response Link headers:
- /speculation-rules/speculation-measurement/performance-speculations-preconnect.tentative.html [wpt.fyi]
- performance.getSpeculations() preconnect shape:
FAIL(Chrome:PASS, Safari:FAIL) - Preconnect: no crossorigin:
FAIL(Chrome:PASS, Safari:FAIL) - Preconnect: crossorigin=anonymous:
FAIL(Chrome:PASS, Safari:FAIL) - Preconnect: crossorigin=use-credentials:
FAIL(Chrome:PASS, Safari:FAIL) - Preconnect reports origin only:
FAIL(Chrome:PASS, Safari:FAIL) - Preconnect dedups identical (origin, crossorigin):
FAIL(Chrome:PASS, Safari:FAIL) - Preconnect: none and use-credentials are distinct entries:
FAIL(Chrome:PASS, Safari:FAIL) - Preconnect: distinct crossorigin values are distinct entries:
FAIL(Chrome:PASS, Safari:FAIL)
- performance.getSpeculations() preconnect shape:
- /speculation-rules/speculation-measurement/performance-speculations-preredirect-urls.tentative.https.html [wpt.fyi]:
ERROR - /speculation-rules/speculation-measurement/performance-speculations-serialization.tentative.https.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR) - /speculation-rules/speculation-measurement/performance-speculations-unused-preload.tentative.html [wpt.fyi]
- performance.getSpeculations() basic shape:
FAIL(Chrome:PASS, Safari:FAIL) - Unused preload: as=script, no crossorigin:
FAIL(Chrome:PASS, Safari:FAIL) - Unused preload: as=script, crossorigin=anonymous:
FAIL(Chrome:PASS, Safari:FAIL) - Unused preload: as=script, crossorigin=use-credentials:
FAIL(Chrome:PASS, Safari:FAIL) - Unused preload: as=style, no crossorigin:
FAIL(Chrome:PASS, Safari:FAIL) - Unused preload: as=style, crossorigin=anonymous:
FAIL(Chrome:PASS, Safari:FAIL) - Unused preload: as=style, crossorigin=use-credentials:
FAIL(Chrome:PASS, Safari:FAIL) - Unused preload: as=fetch, no crossorigin:
FAIL(Chrome:PASS, Safari:FAIL) - Unused preload: as=fetch, crossorigin=anonymous:
FAIL(Chrome:PASS, Safari:FAIL) - Unused preload: as=fetch, crossorigin=use-credentials:
FAIL(Chrome:PASS, Safari:FAIL)
- performance.getSpeculations() basic shape:
- /speculation-rules/speculation-measurement/performance-speculations-used-preload.tentative.html [wpt.fyi]
- Used preload: as=script, no crossorigin:
FAIL - Used preload: as=script, crossorigin=anonymous:
FAIL - Used preload: as=script, crossorigin=use-credentials:
FAIL - Used preload: as=style, no crossorigin:
FAIL - Used preload: as=style, crossorigin=anonymous:
FAIL - Used preload: as=style, crossorigin=use-credentials:
FAIL - Used preload: as=fetch, crossorigin=anonymous:
FAIL - Used preload: as=fetch, crossorigin=use-credentials:
FAIL
- Used preload: as=script, no crossorigin:
Comment 4•18 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/22a9ed01936d
https://hg.mozilla.org/mozilla-central/rev/de6b7e4d9cd7
Description
•