Closed Bug 1797665 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 36682 - [IndexedDB] Add WPT to test BFCache support for page with IDB connection

Categories

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

task

Tracking

()

RESOLVED FIXED
108 Branch
Tracking Status
firefox108 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Mingyu Lei <leimy@chromium.org> wrote:

[IndexedDB] Add WPT to test BFCache support for page with IDB connection

This CL adds WPT to test if a page with open connection can be restored
from BFCache or not. It's expected for it to be not supported and result
in PRECONDITION_FAILED. This will be turned to PASS after the CL
that implements the unblocking.

This CL also move some common utils function to the BFCache folder.

WPT that tests eviction due to version change event will be added
to the implementation CL.

Bug: 1331187
Change-Id: Ib30b8cceb7b50f90515b64abdeaaf57382b63559

Reviewed-on: https://chromium-review.googlesource.com/3984987
WPT-Export-Revision: c4b317cc976bf82601c280a0e488b25f09ae4823

Component: web-platform-tests → DOM: Performance
Product: Testing → Core
PR 36682 applied with additional changes from upstream: 1f064bb61a2863dc5f39d52dfc31462efc09b1f7

CI Results

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

Total 5 tests and 1 subtests

Status Summary

Firefox

OK : 5
PASS : 1
FAIL : 4

Chrome

OK : 4
PASS : 4
TIMEOUT: 2

Safari

OK : 5
PASS : 1
FAIL : 4

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/d69f522506dc [wpt PR 36682] - [WPT] Refactor BFCache WPT helper function, a=testonly https://hg.mozilla.org/integration/autoland/rev/e04c38cc2558 [wpt PR 36682] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
You need to log in before you can comment on or make changes to this bug.