New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/IndexedDB/idbdatabase-createObjectStore-exception-order.htm is disabled in Mozilla and flaky in WebKit #10792
Comments
@jeffcarp @bevis-tseng any idea how to fix this test? |
cc @inexorabletash and @pwnall |
I'll try and take a look. (Best guess from code inspection is that the browsers are not following the spec to the letter and so the work done in the setTimeout() races with the abort() call actually aborting the transaction, rather than the abort being processed immediately.) |
Hrm, in FF52 at least the failure is due to the error bubbling up to window.onerror. Fixed by either setup({allow_uncaught_exception:true}); or: @@ -8,9 +8,11 @@
<script>
indexeddb_test(
- (t, db, txn) => {
+ (t, db, txn, rq) => {
db.createObjectStore('s');
+ rq.onerror = e => { e.preventDefault(); };
+
txn.onabort = () => { |
I had thought that FF was removing the event bubbling for IDB since the other browsers hadn't implemented it yet (although we plan to in Chrome) |
http://bocoup.github.io/wpt-disabled-tests-report/
Investigate what's up with this test:
The text was updated successfully, but these errors were encountered: