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

Related to #381

1. navigate to https://example.com/ (or anything really)
1. open devtools/inspector/console/etc
1. `i = document.createElement('iframe');`
1. `i.src = location;`
1. `document.body.append(i);`
1. `ii = i.contentWindow.indexedDB;`
1. `ii.open('db');` - returns IDBOpenDBRequest
1. `i.remove();`
1. `ii.open('db');` - returns ???

In Chrome this returns null. Throwing is probably more correct behavior. I haven't tested in other browsers.

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

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

Received on Wednesday, 16 August 2023 22:37:56 UTC