Closed Bug 1849810 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 41595 - Revert "[bfcache] Introduce NotRestoredReasons interface"

Categories

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

task

Tracking

()

RESOLVED FIXED
119 Branch
Tracking Status
firefox119 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Yuki Shiino <yukishiino@chromium.org> wrote:

Revert "[bfcache] Introduce NotRestoredReasons interface"

This reverts commit c5d373e378134b9594f80045f747f5b5b8966402.

Reason for revert: https://crbug.com/1474767

Original change's description:

[bfcache] Introduce NotRestoredReasons interface

This CL introduces NotRestoredReasons interface to make the implementation match the spec draft1.
This also changes NotRestoredReasons attribute's name from blocked to preventedBackForwardCache and its return value, thus changing WPT as well.

Bug: 1472637
Change-Id: I4dcecd5a012c36c883933ed3d04c776bfe844f6c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4770594
Reviewed-by: Kentaro Hara \<haraken@chromium.org>
Commit-Queue: Yuzu Saijo \<yuzus@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1185723}

Bug: 1472637
Change-Id: Ie2e4322abd062a4cdff14f9f78c8651c06453ae3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4805368
Bot-Commit: Rubber Stamper \<rubber-stamper@appspot.gserviceaccount.com>
Auto-Submit: Yuki Shiino \<yukishiino@chromium.org>
Commit-Queue: Yuki Shiino \<yukishiino@chromium.org>
Reviewed-by: Kentaro Hara \<haraken@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1187060}

PR 41595 applied with additional changes from upstream: d4021e194b6a79b59a256ed4efbaab5598bf4185, 489dcfa3de2d1f57c5846b6bb85abdc368404d33
Component: web-platform-tests → DOM: Performance
Product: Testing → Core

CI Results

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

Total 9 tests and 1 subtests

Status Summary

Firefox

OK : 9
FAIL : 9

Chrome

OK : 9
PASS : 3
FAIL : 6

Safari

OK : 8
FAIL : 8
TIMEOUT: 2

Links

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/cbd9852b62bc [wpt PR 41595] - Revert "[bfcache] Introduce NotRestoredReasons interface", a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
You need to log in before you can comment on or make changes to this bug.