Re: [w3c/IndexedDB] Provide finer control over open request edge cases (#223)

I think it's reasonable to alert new connection requests that there is a current connection that is blocking new connections. This could happen for both new requests for the same version, as well as higher versions.

I don't write specs, but I could imagine this done as :

When the onblocked event is triggered, the system stores the version at which it was blocked for that database, and when new connection are created, they can check this state. the state would be cleared when the connection for that version is closed.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/IndexedDB/issues/223#issuecomment-533382803

Received on Friday, 20 September 2019 02:49:46 UTC