[wpt-sync] Sync PR 47517 - Do not wait for events to be dispatched to IDBRequest
Categories
(Core :: Storage: IndexedDB, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox131 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 47517 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/47517
Details from upstream follow.
Sihui Liu <sihui_liu@apple.com> wrote:
Do not wait for events to be dispatched to IDBRequest
The test expects event to be dispatched to IDBRequest after its execution context is stopped, but this is not standard behavior. WebKit and Blink can stop dispatching event as soon as iframe is detached (iframe.remove() is invoked), which leads to test timeout. To fix this, make the test wait on a new iframe with the same id to be loaded, so that there is enough time for request to be completed.
Also, since the goal of the test is to verify the accessor is valid after execution context is destroyed (no exception is thrown), update the check to validate the type of the result, instead of value of the result.
Assignee | ||
Updated•6 months ago
|
Assignee | ||
Comment 1•6 months ago
|
||
Assignee | ||
Comment 2•6 months ago
|
||
CI Results
Ran 0 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
PASS
: 1
Chrome
OK
: 1
PASS
: 1
Safari
OK
: 1
PASS
: 1
Links
Comment 4•6 months ago
|
||
bugherder |
Description
•