DescriptionIndexedDB: Make DOMException messages more useful.
IndexedDB throws a handful of DOMException types for a wide variety of
reasons; IDBObjectStore.put() has 6 cases that throw DataError.
Show web developers a little love by giving specific messages for
each error cases. In most cases the error text is inspired by the
IndexedDB specification itself.
BUG=95723
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=154140
Patch Set 1 #Patch Set 2 : Disambiguate TransactionInactiveError #
Total comments: 8
Patch Set 3 : Remove unused message #Patch Set 4 : Message => ErrorMessage #
Total comments: 7
Patch Set 5 : Review feedback #Patch Set 6 : Specific message for inactive transactions #
Messages
Total messages: 10 (0 generated)
|