Index: Source/modules/indexeddb/IDBIndex.idl |
diff --git a/Source/modules/indexeddb/IDBIndex.idl b/Source/modules/indexeddb/IDBIndex.idl |
index 5087716a127bcb84e13a192970bd733e3257ef0e..837849375e76866c9571f4ae01193ab4b986cfb0 100644 |
--- a/Source/modules/indexeddb/IDBIndex.idl |
+++ b/Source/modules/indexeddb/IDBIndex.idl |
@@ -32,8 +32,8 @@ |
readonly attribute boolean unique; |
readonly attribute boolean multiEntry; |
- [CallWith=ScriptState, RaisesException] IDBRequest openCursor([Default=Undefined] optional any range, optional DOMString direction = null); |
- [CallWith=ScriptState, RaisesException] IDBRequest openKeyCursor([Default=Undefined] optional any range, optional DOMString direction = null); |
+ [CallWith=ScriptState, RaisesException] IDBRequest openCursor([Default=Undefined] optional any range, optional DOMString direction = "next"); |
+ [CallWith=ScriptState, RaisesException] IDBRequest openKeyCursor([Default=Undefined] optional any range, optional DOMString direction = "next"); |
[CallWith=ScriptState, RaisesException] IDBRequest get(any key); |
[CallWith=ScriptState, RaisesException] IDBRequest getKey(any key); |