Closed Bug 1809838 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 37897 - Reland "[bfcache] Expose src, id and frame name for cross-origin frames"

Categories

(Core :: DOM: Performance, task, P4)

task

Tracking

()

RESOLVED FIXED
111 Branch
Tracking Status
firefox111 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 37897 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/37897
Details from upstream follow.

Yuzu Saijo <yuzus@chromium.org> wrote:

Reland "[bfcache] Expose src, id and frame name for cross-origin frames"

This is a reland of commit ae786f23eca6e014da5287d53267fd40234b765b

Original change's description:

[bfcache] Expose src, id and frame name for cross-origin frames

This CL starts exposing src, id and frame for cross-origin frames for
NotRestoredReasons API. This is for better debugging and conforms to the explainer: https://github.com/rubberyuzu/bfcache-not-retored-reason/blob/main/NotRestoredReason.md

We send the frame tree at the time of being navigated away, and the frame attributes will help debug the page by associating the possibly modified frame tree and each frame.

Bug: 1379247
Change-Id: Ic41450d7ef9de0cb3429b644299ed8157c7ff503
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3986625
Reviewed-by: Fergal Daly \<fergal@chromium.org>
Reviewed-by: Rakina Zata Amni \<rakina@chromium.org>
Commit-Queue: Yuzu Saijo \<yuzus@chromium.org>
Reviewed-by: Kentaro Hara \<haraken@chromium.org>
Reviewed-by: Takashi Toyoshima \<toyoshim@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1091205}

Bug: 1379247
Change-Id: I2e3a6715d2d1a9c677af5947dde71554f2e73cb9

Reviewed-on: https://chromium-review.googlesource.com/4159634
WPT-Export-Revision: 6bd812b1df7c738fcb7b8d9beb829d3d8e4451d8

Component: web-platform-tests → DOM: Performance
Product: Testing → Core
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INVALID
Status: RESOLVED → REOPENED
Resolution: INVALID → ---

CI Results

Ran 1 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
FAIL: 1

Chrome

OK : 1
FAIL: 1

Safari

OK : 1
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d264c0384aa1
[wpt PR 37897] - Reland "[bfcache] Expose src, id and frame name for cross-origin frames", a=testonly
Regressions: 1811539
Status: REOPENED → RESOLVED
Closed: 1 year ago1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
You need to log in before you can comment on or make changes to this bug.