RESOLVED FIXED 164641
IndexedDB 2.0: "close pending flag" and firing blocked events all need fixing
https://bugs.webkit.org/show_bug.cgi?id=164641
Summary IndexedDB 2.0: "close pending flag" and firing blocked events all need fixing
Brady Eidson
Reported 2016-11-11 10:09:07 PST
IndexedDB 2.0: imported/w3c/web-platform-tests/IndexedDB/idbobjectstore-rename-store.html fails It fails in a test that verifies key generators work properly. But it fails for reasons unrelated to object store renaming or key generators; It actually exposes a flaw in how we handle IDBDatabase.close()! Right now, patch seems like it should be easy.
Attachments
Patch (27.68 KB, patch)
2016-11-11 13:19 PST, Brady Eidson
achristensen: review+
Brady Eidson
Comment 1 2016-11-11 10:15:14 PST
Confirmed a one line change fixes this test. Now running all the other IDB tests to make sure they all still behave.
Brady Eidson
Comment 2 2016-11-11 12:57:23 PST
One line fixed this specific test, but exposed a trail of failures in others. Basically revealed long standing issues with the "close pending" flag and firing blocked events. This can all be fixed at once, covered by existing tests. Retitling: IndexedDB 2.0: "close pending flag" and firing blocked events all need fixing
Brady Eidson
Comment 3 2016-11-11 13:19:48 PST
Brady Eidson
Comment 4 2016-11-11 14:01:05 PST
Note You need to log in before you can comment on or make changes to this bug.