[w3c/IndexedDB] Allow indexing on Request/Response properties (#305)

There's discussion over in https://github.com/w3c/ServiceWorker/issues/863#issuecomment-433063809 about allowing Request/Response objects to be stored in Indexed DB. That basically just requires defining [serialization](https://html.spec.whatwg.org/multipage/structured-data.html#safe-passing-of-structured-data) for them - a blob plus some metadata.

However, like we do for File and Blob objects, we may want to support indexing on properties - see the table in: https://w3c.github.io/IndexedDB/#key-path-construct

(This is necessary since the keypath evaluation algorithms intentionally bypass the prototype chain to avoid invoking getters after cloning.) 



-- 
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/305

Received on Monday, 30 September 2019 18:44:10 UTC