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)
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 <firstname.lastname@example.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.
2 years ago
Component: web-platform-tests → DOM: IndexedDB
Product: Testing → Core
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=9aae6c142b666e14cb5166b5d2c49c598a376eed
Ran 1 tests Tests that are disabled for instability: /IndexedDB/idbdatabase-createObjectStore-exception-order.htm
Pushed by email@example.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/cfb04c62b89c [wpt PR 11614] - Prevent abort error from breaking test in FF (fixes #10792), a=testonly
You need to log in before you can comment on or make changes to this bug.