[wpt-sync] Sync PR 38133 - IDB WPT: add promise to ensure that the setup is done before navigation
Categories
(Core :: Storage: IndexedDB, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox111 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 38133 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/38133
Details from upstream follow.
Mingyu Lei <leimy@chromium.org> wrote:
IDB WPT: add promise to ensure that the setup is done before navigation
We didn't wait until the
onupgradeneededto be fired before
registering thepagehideevent handler and navigate the page for
BFCache eligibility test. If the navigation happens before the IndexedDB
connection is set up, the transaction won't start and our test becomes
meaningless.Bug: 1409621
Change-Id: Ifb87026b3ec48e09838f9eeee37c0137d1252ad0Reviewed-on: https://chromium-review.googlesource.com/4190320
WPT-Export-Revision: 3eb60ea0974c4fdf1d596adb1729f4360c2ec63d
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 1•3 years ago
|
||
| Assignee | ||
Comment 2•3 years ago
|
||
| Assignee | ||
Comment 3•3 years ago
|
||
| Assignee | ||
Comment 4•3 years ago
|
||
| Assignee | ||
Comment 6•3 years ago
|
||
Comment 7•3 years ago
|
||
| bugherder | ||
Description
•