Files
firefox/testing/web-platform/tests/longtask-timing
Michal Mocny b27d4f5713 Bug 2037543 [wpt PR 59694] - [long-tasks] Reduce attribution for XO iframes., a=testonly
Automatic update from web-platform-tests
[long-tasks] Reduce attribution for XO iframes.

Implemented privacy improvements to reduce attribution reporting details
for cross-origin (XO) iframes in the Long Tasks API.

- Updated `WindowPerformance::ReportLongTask` to explicitly check
  whether the observer frame and culprit frame are same-origin using the
  CanAccessOrigin function.
- For cross-origin culprit frames, full iframe element details are
  withheld, and attribution reports containerType as window with empty
  fields, matching other cross-origin cases.

Bug: 506392671
Change-Id: I8b2801f9875a9f2321e4f15435713c9b6a6a6964
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7817857
Reviewed-by: Noam Rosenthal <nrosenthal@google.com>
Reviewed-by: Scott Haseley <shaseley@chromium.org>
Commit-Queue: Michal Mocny <mmocny@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1626215}

--

wpt-commits: 659842a55b8887125e29c83a45f9b4b82f67e4e5
wpt-pr: 59694
2026-05-12 08:46:43 +00:00
..