[w3c/IndexedDB] Disallow proxies during key conversion (#311)

Both Gecko and Chromium disallow using proxies when specifying keys, e.g.:
```js
const k = [1,2,3];
const p = new Proxy(k, {});
indexedDB.cmp(k, p); // throws
```
Enshrining this seems like a good idea.

Closes #309

The following tasks have been completed:

 * [x] Confirmed there are no ReSpec/BikeShed errors or warnings.
 * [ ] Modified Web platform tests (link to pull request)

Implementation commitment:

 * [ ] WebKit (???)
 * [x] Chromium (already has this behavior)
 * [x] Gecko (already has this behavior)

You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/IndexedDB/pull/311

-- Commit Summary --

  * Disallow proxies

-- File Changes --

    M index.bs (50)

-- Patch Links --

https://github.com/w3c/IndexedDB/pull/311.patch
https://github.com/w3c/IndexedDB/pull/311.diff

-- 
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/pull/311

Received on Wednesday, 20 November 2019 23:05:41 UTC