- From: Joshua Bell <notifications@github.com>
- Date: Tue, 10 Jan 2017 15:32:21 -0800
- To: w3c/IndexedDB <IndexedDB@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 10 January 2017 23:32:55 UTC
The spec abstractly references the _structured clone_ algorithm, e.g. _Let clone be structured clone of value..._ - this should be updated to use the **StructuredClone(_input_,_targetRealm_)** syntax from [[HTML]](https://html.spec.whatwg.org/multipage/infrastructure.html#structuredclone). * [put()](https://w3c.github.io/IndexedDB/#dom-idbobjectstore-put), [add()](https://w3c.github.io/IndexedDB/#dom-idbobjectstore-add) and [update()](https://w3c.github.io/IndexedDB/#dom-idbcursor-update) should call StructuredClone() explicitly using the current Realm * [Object Store Retrieval Operations](https://w3c.github.io/IndexedDB/#object-store-retrieval-operation), [Index Retrieval Operations](https://w3c.github.io/IndexedDB/#index-retrieval-operation) and [Cursor Iteration Operation](https://w3c.github.io/IndexedDB/#index-retrieval-operation) should take a _targetRealm _and use it when calling StructuredClone(); callers should pass the current Realm -- 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/135
Received on Tuesday, 10 January 2017 23:32:55 UTC