Index: LayoutTests/storage/indexeddb/resources/cursor-advance.js |
=================================================================== |
--- LayoutTests/storage/indexeddb/resources/cursor-advance.js (revision 131667) |
+++ LayoutTests/storage/indexeddb/resources/cursor-advance.js (working copy) |
@@ -330,6 +330,8 @@ |
cursor = event.target.result; |
evalAndExpectExceptionClass("cursor.advance(0)", "TypeError"); |
+ evalAndExpectExceptionClass("cursor.advance(-1)", "TypeError"); |
+ evalAndExpectExceptionClass("cursor.advance(0x20000000000000)", "TypeError"); |
testDelete(); |
} |
request.onsuccess = advanceBadly; |