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

Unified Diff: LayoutTests/storage/indexeddb/objectstore-keycursor-expected.txt

Issue 120063002: Improve modules' TypeError exception messages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 6 years, 11 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/objectstore-keycursor-expected.txt
diff --git a/LayoutTests/storage/indexeddb/objectstore-keycursor-expected.txt b/LayoutTests/storage/indexeddb/objectstore-keycursor-expected.txt
index f7decfb8d9304e3398db188606b9fefe87679bc3..31218c2fe3d335572e7ec76c48b15c144f98822a 100644
--- a/LayoutTests/storage/indexeddb/objectstore-keycursor-expected.txt
+++ b/LayoutTests/storage/indexeddb/objectstore-keycursor-expected.txt
@@ -13,7 +13,7 @@ objectStore = db.createObjectStore('someObjectStore')
Verify that specifying an invalid direction raises an exception:
Expecting TypeError exception from objectStore.openKeyCursor(0, 'invalid-direction')
PASS Exception was thrown.
-PASS objectStore.openKeyCursor(0, 'invalid-direction') threw TypeError: Type error
+PASS objectStore.openKeyCursor(0, 'invalid-direction') threw TypeError: Failed to execute 'openKeyCursor' on 'IDBObjectStore': The direction provided ('invalid-direction') is not one of 'next', 'nextunique', 'prev', or 'prevunique'.
objectStore.add('', testData[nextToAdd])
objectStore.add('', testData[nextToAdd])

Powered by Google App Engine
This is Rietveld 408576698