[w3c/IndexedDB] Don't use sequence<>, DOMString, and DOMStringList outside of bindings (#167)

For example, the definition of [key path](https://w3c.github.io/IndexedDB/#key-path-construct) has:

> A key path is a `DOMString` or `sequence<DOMString>` that defines how to extract a key from a value.

This should use abstract spec types instead, i.e. "a string or a list of strings"

Places to update:

* [ ] [sorted list](https://w3c.github.io/IndexedDB/#sorted-list) - change to just a list which is sorted, convert to `DOMStringList` at "call site"
* [ ] [Key Path](https://w3c.github.io/IndexedDB/#key-path-construct) - "string or list of strings", etc.
* [ ] [IDBObjectStore's keyPath getter](https://w3c.github.io/IndexedDB/#dom-idbobjectstore-keypath) - e.g. "as a `DOMString` (if a string) or `sequence<DOMString>` (if a list of strings) as appropriate"
* [ ] [IDBIndex's keyPath getter](https://w3c.github.io/IndexedDB/#dom-idbindex-keypath) - ditto
* [ ] [evaluate a key path on a value](https://w3c.github.io/IndexedDB/#evaluate-a-key-path-on-a-value) - similarly, just use "list of strings"

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

Received on Friday, 17 March 2017 17:42:32 UTC