[wpt-sync] Sync PR 64337 - Prevent cross-origin information leak by LoAF userTimingEntries
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 64337 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64337
Details from upstream follow.
Guohui Deng <guohuideng@microsoft.com> wrote:
Prevent cross-origin information leak by LoAF userTimingEntries
User timing entries are now checked against the origin of the document
that reads them, both when they are accessed directly and when a
conditional measure resolves a mark, so they are no longer leaked
cross-origin.Bug: 557288873
Change-Id: I4c1fe3837283c3a2df257ec11478816c7e2c9d5f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8434022
Reviewed-by: Scott Haseley \<shaseley@chromium.org>
Reviewed-by: Guohui Deng \<guohuideng@microsoft.com>
Commit-Queue: Guohui Deng \<guohuideng@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1729853}
| Assignee | ||
Updated•15 days ago
|
| Assignee | ||
Comment 1•14 days ago
|
||
PR 64337 applied with additional changes from upstream: 7d604ea1ff2447ded8648c3fba5d6d966463b81e
| Assignee | ||
Updated•13 days ago
|
| Assignee | ||
Comment 2•13 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=116195
| Assignee | ||
Comment 3•12 days ago
|
||
Try push failed to land: Lando job 116195 for the try push is FAILED:
Aborting, could not apply patch buffer for None.
hg error in cmd: hg import -s 95 --date 1794032288 0 --user moz-wptsync-bot <wptsync@mozilla.com> --logfile /tmp/tmpa8p873ojmsg /tmp/tmphxkpf74wdiff: applying /tmp/tmphxkpf74wdiff
../files/repos/try/testing/web-platform/tests/long-animation-frame/conditional-measure-time-resolve.html not tracked!
abort: source file 'testing/web-platform/tests/long-animation-frame/conditional-measure-time-resolve.html' does not exist
| Assignee | ||
Comment 4•11 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=116461
| Assignee | ||
Comment 5•11 days ago
|
||
CI Results
Ran 8 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 51 tests
Status Summary
Firefox
ERROR: 6
Chrome
OK : 6
FAIL : 11
Safari
ERROR: 6
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /long-animation-frame/conditional-measure-iframe-time-origin.tentative.html [wpt.fyi]:
ERROR[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-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] (Chrome:OK, Safari:ERROR) - /long-animation-frame/conditional-measure-time-resolve.tentative.html [wpt.fyi]:
SKIP - /long-animation-frame/conditional-user-timing-basic.tentative.html [wpt.fyi]:
ERROR[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-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] (Chrome:OK, Safari:ERROR) - /long-animation-frame/conditional-user-timing-buffer-limit.tentative.html [wpt.fyi]:
SKIP - /long-animation-frame/conditional-user-timing-cross-origin-measure.tentative.html [wpt.fyi]:
ERROR[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-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] (Chrome:OK, Safari:ERROR) - /long-animation-frame/conditional-user-timing-cross-origin.tentative.html [wpt.fyi]:
ERROR[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-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] (Chrome:OK, Safari:ERROR) - /long-animation-frame/conditional-user-timing-detached-window.tentative.html [wpt.fyi]:
ERROR[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-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] (Chrome:OK, Safari:ERROR) - /long-animation-frame/conditional-user-timing-same-origin.tentative.html [wpt.fyi]:
ERROR[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-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] (Chrome:OK, Safari:ERROR) - /long-animation-frame/loaf-basic.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-blocking-duration.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-bound-function-opaque-sanitization.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-buffered.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-congested-moment-worker.tentative.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-container-queries.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-duration-clamping.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-event-blocking-duration.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-event-listener.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-first-ui-event.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-forced-layout-duration.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-forced-style-duration.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-idle.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-iframe-crossorigin.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-iframe-same-origin.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-iframe-self.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-layout-duration.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-onmessage.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-paint-mixin.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-pause-duration.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-pointer-without-render-iframe.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-pointer-without-render.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-popup.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-promise-import.tentative.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-promise-scheduled-render.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-promise.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-script-block.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-script-count.tentative.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-script-nested-callback.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-script-window-attribution.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-source-location-redirect.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-source-location.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-stream-source-location.tentative.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-stream.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-style-and-layout-duration-bounds.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-style-duration.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-supportedEntryTypes.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-timeline.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-toJSON.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-ui-event-render-start.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-user-callback.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-visibility.html [wpt.fyi]:
SKIP - /long-animation-frame/performance-bind.tentative.html [wpt.fyi]:
SKIP
Tests Disabled in Gecko Infrastructure
- /long-animation-frame/conditional-measure-iframe-time-origin.tentative.html [wpt.fyi]:
ERROR[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-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] (Chrome:OK, Safari:ERROR) - /long-animation-frame/conditional-measure-time-resolve.tentative.html [wpt.fyi]:
SKIP - /long-animation-frame/conditional-user-timing-basic.tentative.html [wpt.fyi]:
ERROR[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-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] (Chrome:OK, Safari:ERROR) - /long-animation-frame/conditional-user-timing-buffer-limit.tentative.html [wpt.fyi]:
SKIP - /long-animation-frame/conditional-user-timing-cross-origin-measure.tentative.html [wpt.fyi]:
ERROR[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-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] (Chrome:OK, Safari:ERROR) - /long-animation-frame/conditional-user-timing-cross-origin.tentative.html [wpt.fyi]:
ERROR[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-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] (Chrome:OK, Safari:ERROR) - /long-animation-frame/conditional-user-timing-detached-window.tentative.html [wpt.fyi]:
ERROR[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-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] (Chrome:OK, Safari:ERROR) - /long-animation-frame/conditional-user-timing-same-origin.tentative.html [wpt.fyi]:
ERROR[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-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] (Chrome:OK, Safari:ERROR) - /long-animation-frame/loaf-basic.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-blocking-duration.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-bound-function-opaque-sanitization.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-buffered.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-congested-moment-worker.tentative.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-container-queries.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-duration-clamping.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-event-blocking-duration.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-event-listener.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-first-ui-event.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-forced-layout-duration.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-forced-style-duration.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-idle.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-iframe-crossorigin.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-iframe-same-origin.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-iframe-self.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-layout-duration.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-onmessage.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-paint-mixin.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-pause-duration.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-pointer-without-render-iframe.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-pointer-without-render.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-popup.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-promise-import.tentative.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-promise-scheduled-render.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-promise.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-script-block.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-script-count.tentative.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-script-nested-callback.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-script-window-attribution.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-source-location-redirect.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-source-location.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-stream-source-location.tentative.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-stream.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-style-and-layout-duration-bounds.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-style-duration.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-supportedEntryTypes.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-timeline.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-toJSON.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-ui-event-render-start.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-user-callback.html [wpt.fyi]:
SKIP - /long-animation-frame/loaf-visibility.html [wpt.fyi]:
SKIP - /long-animation-frame/performance-bind.tentative.html [wpt.fyi]:
SKIP
Comment 7•6 days ago
|
||
| bugherder | ||
Description
•