Closed Bug 1470354 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 11614 - Prevent abort error from breaking test in FF (fixes #10792)

Categories

(Core :: Storage: IndexedDB, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Joshua Bell <jsbell@chromium.org> wrote:
>  Prevent abort error from breaking test in FF (fixes #10792)
>  
>  The test intentionally aborts a versionchange transaction, which results in an AbortError being fired at the IDBOpenDBRequest. In browsers that bubble event errors up to `window.error` (i.e. Firefox) this will cause the harness to fail.
>  
>  Call preventDefault() on the error since it's expected.
Component: web-platform-tests → DOM: IndexedDB
Product: Testing → Core
Ran 1 tests


Tests that are disabled for instability:
/IndexedDB/idbdatabase-createObjectStore-exception-order.htm
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/cfb04c62b89c
[wpt PR 11614] - Prevent abort error from breaking test in FF (fixes #10792), a=testonly
https://hg.mozilla.org/mozilla-central/rev/cfb04c62b89c
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.