Closed Bug 2089319 Opened 15 days ago Closed 6 days ago

[wpt-sync] Sync PR 64337 - Prevent cross-origin information leak by LoAF userTimingEntries

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox162 fixed)

RESOLVED FIXED
162 Branch
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}

Whiteboard: [wptsync downstream] → [wptsync downstream error]

PR 64337 applied with additional changes from upstream: 7d604ea1ff2447ded8648c3fba5d6d966463b81e

Whiteboard: [wptsync downstream error] → [wptsync downstream]

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

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

Tests Disabled in Gecko Infrastructure

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/1334ee7d709a https://hg.mozilla.org/integration/autoland/rev/142818a63b9c [wpt PR 64337] - Prevent cross-origin information leak by LoAF userTimingEntries, a=testonly
Status: NEW → RESOLVED
Closed: 6 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.