W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2012

[IndexedDB] Exception inconsistency

From: Kyle Huey <me@kylehuey.com>
Date: Wed, 13 Jun 2012 10:50:40 -0700
Message-ID: <CAP045Ar49mTSJ4988krA2T07ROsq9dVrfo9_nN=jpADZwcvvSQ@mail.gmail.com>
To: Web Applications Working Group WG <public-webapps@w3.org>
If a keypath passed to createObjectStore fails certain constraints (not
passing arrays or empty strings to autoIncrement) the spec says to throw an

If a keypath passed to createIndex fails constraints (an array keypath
passed to a multientry index) the spec says to throw a NotSupportedError.

Why are these not consistent?

- Kyle
Received on Wednesday, 13 June 2012 17:51:14 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:34 UTC