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

Unified Diff: LayoutTests/storage/indexeddb/intversion-bad-parameters-expected.txt

Issue 121113004: Improve handling of failed integer type conversions. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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 14557d45366ddf341b6c012070e289123a11887d..d76e6e40a1f343ae5496e6d3ebfa69bac94fd5c1 100644
--- a/LayoutTests/storage/indexeddb/intversion-bad-parameters-expected.txt
+++ b/LayoutTests/storage/indexeddb/intversion-bad-parameters-expected.txt
@@ -11,34 +11,34 @@ indexedDB.deleteDatabase(dbname)
deleteSuccess():
Expecting TypeError exception from indexedDB.open(dbname, 'stringversion')
PASS Exception was thrown.
-PASS indexedDB.open(dbname, 'stringversion') threw TypeError: Type error
+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
Expecting TypeError exception from indexedDB.open(dbname, -5)
PASS Exception was thrown.
-PASS indexedDB.open(dbname, -5) threw TypeError: Type error
+PASS indexedDB.open(dbname, -5) threw TypeError: Failed to execute 'open' on 'IDBFactory': Value is outside the 'unsigned long long' value range.
Expecting TypeError exception from indexedDB.open(dbname, Infinity)
PASS Exception was thrown.
-PASS indexedDB.open(dbname, Infinity) threw TypeError: Type error
+PASS indexedDB.open(dbname, Infinity) threw TypeError: Failed to execute 'open' on 'IDBFactory': Value is infinite and not of type 'unsigned long long'.
Expecting TypeError exception from indexedDB.open(dbname, -Infinity)
PASS Exception was thrown.
-PASS indexedDB.open(dbname, -Infinity) threw TypeError: Type error
+PASS indexedDB.open(dbname, -Infinity) threw TypeError: Failed to execute 'open' on 'IDBFactory': Value is infinite and not of type 'unsigned long long'.
Expecting TypeError exception from indexedDB.open(dbname, NaN)
PASS Exception was thrown.
-PASS indexedDB.open(dbname, NaN) threw TypeError: Type error
+PASS indexedDB.open(dbname, NaN) threw TypeError: Failed to execute 'open' on 'IDBFactory': Value is not of type 'unsigned long long'.
Expecting TypeError exception from indexedDB.open(dbname, -1)
PASS Exception was thrown.
-PASS indexedDB.open(dbname, -1) threw TypeError: Type error
+PASS indexedDB.open(dbname, -1) threw TypeError: Failed to execute 'open' on 'IDBFactory': Value is outside the 'unsigned long long' value range.
Expecting TypeError exception from indexedDB.open(dbname, 0x20000000000000)
PASS Exception was thrown.
-PASS indexedDB.open(dbname, 0x20000000000000) threw TypeError: Type error
+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
Expecting TypeError exception from indexedDB.open(dbname, undefined)
PASS Exception was thrown.
-PASS indexedDB.open(dbname, undefined) threw TypeError: Type error
+PASS indexedDB.open(dbname, undefined) threw TypeError: Failed to execute 'open' on 'IDBFactory': Value is not of type 'unsigned long long'.
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698