Re: [w3c/IndexedDB] Specify behavior when document is not fully active (Issue #412)

[In Firefox we return our unknown error](https://searchfox.org/mozilla-central/rev/d81e60336d9f498ad3985491dc17c2b77969ade4/dom/indexedDB/IDBFactory.cpp#502-505) because we [cleared the global from the factory](https://searchfox.org/mozilla-central/rev/d81e60336d9f498ad3985491dc17c2b77969ade4/dom/indexedDB/IDBFactory.cpp#740-746) when the iframe's window was cleaned up.  In Firefox devtools this looks like:
> DOMException: The operation failed for reasons unrelated to the database itself and not covered by any other error code.

Throwing seems appropriate for a case like this where the API does not return a Promise.

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

Message ID: <w3c/IndexedDB/issues/412/1682497627@github.com>

Received on Thursday, 17 August 2023 15:35:52 UTC