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

Unified Diff: LayoutTests/storage/indexeddb/cursor-advance-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/cursor-advance-expected.txt
diff --git a/LayoutTests/storage/indexeddb/cursor-advance-expected.txt b/LayoutTests/storage/indexeddb/cursor-advance-expected.txt
index 6bb8f64f575b388c6bdcea9c7ce75bcfe96cd6d1..fd3290ad63b219b057ec97966b6e7ab9c56f82c1 100644
--- a/LayoutTests/storage/indexeddb/cursor-advance-expected.txt
+++ b/LayoutTests/storage/indexeddb/cursor-advance-expected.txt
@@ -178,16 +178,16 @@ request = objectStore.openCursor()
advanceBadly():
Expecting TypeError exception from cursor.advance(0)
PASS Exception was thrown.
-PASS cursor.advance(0) threw TypeError: Type error
+PASS cursor.advance(0) threw TypeError: Failed to execute 'advance' on 'IDBCursor': A count argument with value 0 (zero) was supplied, must be greater than 0.
Expecting TypeError exception from cursor.advance(-1)
PASS Exception was thrown.
-PASS cursor.advance(-1) threw TypeError: Type error
+PASS cursor.advance(-1) threw TypeError: Failed to execute 'advance' on 'IDBCursor': Value is outside the 'unsigned long' value range.
Expecting TypeError exception from cursor.advance(0x100000000)
PASS Exception was thrown.
-PASS cursor.advance(0x100000000) threw TypeError: Type error
+PASS cursor.advance(0x100000000) threw TypeError: Failed to execute 'advance' on 'IDBCursor': Value is outside the 'unsigned long' value range.
Expecting TypeError exception from cursor.advance(0x20000000000000)
PASS Exception was thrown.
-PASS cursor.advance(0x20000000000000) threw TypeError: Type error
+PASS cursor.advance(0x20000000000000) threw TypeError: Failed to execute 'advance' on 'IDBCursor': Value is outside the 'unsigned long' value range.
testEdges():
trans = db.transaction(objectStoreName, 'readonly')

Powered by Google App Engine
This is Rietveld 408576698