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

Unified Diff: LayoutTests/storage/indexeddb/intversion-bad-parameters-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/intversion-bad-parameters-expected.txt
diff --git a/LayoutTests/storage/indexeddb/intversion-bad-parameters-expected.txt b/LayoutTests/storage/indexeddb/intversion-bad-parameters-expected.txt
index d76e6e40a1f343ae5496e6d3ebfa69bac94fd5c1..82b00cec02d840590ab5787222d3ebb199e257a1 100644
--- a/LayoutTests/storage/indexeddb/intversion-bad-parameters-expected.txt
+++ b/LayoutTests/storage/indexeddb/intversion-bad-parameters-expected.txt
@@ -14,7 +14,7 @@ PASS Exception was thrown.
PASS indexedDB.open(dbname, 'stringversion') threw TypeError: Failed to execute 'open' on 'IDBFactory': Value is not of type 'unsigned long long'.
Expecting TypeError exception from indexedDB.open(dbname, 0)
PASS Exception was thrown.
-PASS indexedDB.open(dbname, 0) threw TypeError: Type error
+PASS indexedDB.open(dbname, 0) threw TypeError: Failed to execute 'open' on 'IDBFactory': The version provided must not be 0.
Expecting TypeError exception from indexedDB.open(dbname, -5)
PASS Exception was thrown.
PASS indexedDB.open(dbname, -5) threw TypeError: Failed to execute 'open' on 'IDBFactory': Value is outside the 'unsigned long long' value range.
@@ -35,7 +35,7 @@ PASS Exception was thrown.
PASS indexedDB.open(dbname, 0x20000000000000) threw TypeError: Failed to execute 'open' on 'IDBFactory': Value is outside the 'unsigned long long' value range.
Expecting TypeError exception from indexedDB.open(dbname, null)
PASS Exception was thrown.
-PASS indexedDB.open(dbname, null) threw TypeError: Type error
+PASS indexedDB.open(dbname, null) threw TypeError: Failed to execute 'open' on 'IDBFactory': The version provided must not be 0.
Expecting TypeError exception from indexedDB.open(dbname, undefined)
PASS Exception was thrown.
PASS indexedDB.open(dbname, undefined) threw TypeError: Failed to execute 'open' on 'IDBFactory': Value is not of type 'unsigned long long'.

Powered by Google App Engine
This is Rietveld 408576698