Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Unified Diff: LayoutTests/storage/indexeddb/cursor-update-expected.txt

Issue 19107003: IndexedDB: Log exception messages (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/storage/indexeddb/cursor-update-expected.txt
diff --git a/LayoutTests/storage/indexeddb/cursor-update-expected.txt b/LayoutTests/storage/indexeddb/cursor-update-expected.txt
index d9b661c2b774d6d5990e4f6f6f3dc187547bbb1a..a6c72664e5215ce57b6fa733d2f4cf0018212f88 100644
--- a/LayoutTests/storage/indexeddb/cursor-update-expected.txt
+++ b/LayoutTests/storage/indexeddb/cursor-update-expected.txt
@@ -110,6 +110,7 @@ Expecting exception from event.target.result.update({id: 100 + counter, number:
PASS Exception was thrown.
PASS code is 0
PASS ename is 'DataError'
+Exception message: The effective object store of this cursor uses in-line keys and evaluating the key path of the value parameter results in a different value than the cursor's effective key.
event.target.result.update({id: counter, number: 100 + counter++})
event.target.source.continue()
keyPathUpdateCursor()
@@ -117,6 +118,7 @@ Expecting exception from event.target.result.update({id: 100 + counter, number:
PASS Exception was thrown.
PASS code is 0
PASS ename is 'DataError'
+Exception message: The effective object store of this cursor uses in-line keys and evaluating the key path of the value parameter results in a different value than the cursor's effective key.
event.target.result.update({id: counter, number: 100 + counter++})
event.target.source.continue()
keyPathUpdateCursor()
@@ -124,6 +126,7 @@ Expecting exception from event.target.result.update({id: 100 + counter, number:
PASS Exception was thrown.
PASS code is 0
PASS ename is 'DataError'
+Exception message: The effective object store of this cursor uses in-line keys and evaluating the key path of the value parameter results in a different value than the cursor's effective key.
event.target.result.update({id: counter, number: 100 + counter++})
event.target.source.continue()
keyPathUpdateCursor()
@@ -131,6 +134,7 @@ Expecting exception from event.target.result.update({id: 100 + counter, number:
PASS Exception was thrown.
PASS code is 0
PASS ename is 'DataError'
+Exception message: The effective object store of this cursor uses in-line keys and evaluating the key path of the value parameter results in a different value than the cursor's effective key.
event.target.result.update({id: counter, number: 100 + counter++})
event.target.source.continue()
keyPathUpdateCursor()
@@ -166,6 +170,7 @@ Expecting exception from event.target.result.update({id: counter, number: counte
PASS Exception was thrown.
PASS code is DOMException.INVALID_STATE_ERR
PASS ename is 'InvalidStateError'
+Exception message: The cursor is a key cursor.
event.target.result.continue();
keyCursor()
PASS event.target.result.key is counter + 100
@@ -174,6 +179,7 @@ Expecting exception from event.target.result.update({id: counter, number: counte
PASS Exception was thrown.
PASS code is DOMException.INVALID_STATE_ERR
PASS ename is 'InvalidStateError'
+Exception message: The cursor is a key cursor.
event.target.result.continue();
keyCursor()
PASS event.target.result.key is counter + 100
@@ -182,6 +188,7 @@ Expecting exception from event.target.result.update({id: counter, number: counte
PASS Exception was thrown.
PASS code is DOMException.INVALID_STATE_ERR
PASS ename is 'InvalidStateError'
+Exception message: The cursor is a key cursor.
event.target.result.continue();
keyCursor()
PASS event.target.result.key is counter + 100
@@ -190,6 +197,7 @@ Expecting exception from event.target.result.update({id: counter, number: counte
PASS Exception was thrown.
PASS code is DOMException.INVALID_STATE_ERR
PASS ename is 'InvalidStateError'
+Exception message: The cursor is a key cursor.
event.target.result.continue();
keyCursor()
PASS counter is 5
@@ -202,24 +210,28 @@ Expecting exception from cursor.update('myUpdatedValue')
PASS Exception was thrown.
PASS code is 0
PASS ename is 'ReadOnlyError'
+Exception message: A write operation was attempted in a read-only transaction.
cursor.continue()
attemptUpdate()
Expecting exception from cursor.update('myUpdatedValue')
PASS Exception was thrown.
PASS code is 0
PASS ename is 'ReadOnlyError'
+Exception message: A write operation was attempted in a read-only transaction.
cursor.continue()
attemptUpdate()
Expecting exception from cursor.update('myUpdatedValue')
PASS Exception was thrown.
PASS code is 0
PASS ename is 'ReadOnlyError'
+Exception message: A write operation was attempted in a read-only transaction.
cursor.continue()
attemptUpdate()
Expecting exception from cursor.update('myUpdatedValue')
PASS Exception was thrown.
PASS code is 0
PASS ename is 'ReadOnlyError'
+Exception message: A write operation was attempted in a read-only transaction.
cursor.continue()
attemptUpdate()
transactionComplete()

Powered by Google App Engine
This is Rietveld 408576698