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.
Confirmed a one line change fixes this test.
Now running all the other IDB tests to make sure they all still behave.
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.
IndexedDB 2.0: "close pending flag" and firing blocked events all need fixing
Created attachment 294527 [details]