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

Unified Diff: LayoutTests/storage/indexeddb/index-basics-workers-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/index-basics-workers-expected.txt
diff --git a/LayoutTests/storage/indexeddb/index-basics-workers-expected.txt b/LayoutTests/storage/indexeddb/index-basics-workers-expected.txt
index c7d57bb2bda873304f35cf804cf871a8338c0f4b..267f2aad4a3d1c3deced9090d7286e7f5da70c5a 100644
--- a/LayoutTests/storage/indexeddb/index-basics-workers-expected.txt
+++ b/LayoutTests/storage/indexeddb/index-basics-workers-expected.txt
@@ -70,7 +70,7 @@ PASS [Worker] event.target.result is "key2"
[Worker] Verify that specifying an invalid direction raises an exception:
[Worker] Expecting TypeError exception from indexObject.openKeyCursor(0, 'invalid-direction')
PASS [Worker] Exception was thrown.
-PASS [Worker] indexObject.openKeyCursor(0, 'invalid-direction') threw TypeError: Type error
+PASS [Worker] indexObject.openKeyCursor(0, 'invalid-direction') threw TypeError: Failed to execute 'openKeyCursor' on 'IDBIndex': The direction provided ('invalid-direction') is not one of 'next', 'nextunique', 'prev', or 'prevunique'.
[Worker]
[Worker] indexObject.openKeyCursor()
PASS [Worker] event.target.source is indexObject
@@ -95,7 +95,7 @@ PASS [Worker] event.target.result is null
[Worker] Verify that specifying an invalid direction raises an exception:
[Worker] Expecting TypeError exception from indexObject.openCursor(0, 'invalid-direction')
PASS [Worker] Exception was thrown.
-PASS [Worker] indexObject.openCursor(0, 'invalid-direction') threw TypeError: Type error
+PASS [Worker] indexObject.openCursor(0, 'invalid-direction') threw TypeError: Failed to execute 'openCursor' on 'IDBIndex': The direction provided ('invalid-direction') is not one of 'next', 'nextunique', 'prev', or 'prevunique'.
[Worker]
[Worker] indexObject.openCursor()
PASS [Worker] event.target.source is indexObject

Powered by Google App Engine
This is Rietveld 408576698