Index: Source/modules/indexeddb/IDBDatabase.idl |
diff --git a/Source/modules/indexeddb/IDBDatabase.idl b/Source/modules/indexeddb/IDBDatabase.idl |
index 41e8ff059f22c49b22d5334be1168039c1eacd96..683fb5472a6763355d11695fe4545fb853ced36b 100644 |
--- a/Source/modules/indexeddb/IDBDatabase.idl |
+++ b/Source/modules/indexeddb/IDBDatabase.idl |
@@ -36,9 +36,9 @@ |
[RaisesException] IDBObjectStore createObjectStore(DOMString name, optional Dictionary options); |
[RaisesException] void deleteObjectStore(DOMString name); |
// FIXME: should be union type http://crbug.com/240176 |
- [CallWith=ExecutionContext, RaisesException] IDBTransaction transaction(DOMString storeName, optional DOMString mode = null); |
- [CallWith=ExecutionContext, RaisesException] IDBTransaction transaction(sequence<DOMString> storeNames, optional DOMString mode = null); |
- [CallWith=ExecutionContext, RaisesException] IDBTransaction transaction(DOMStringList storeNames, optional DOMString mode = null); |
+ [CallWith=ExecutionContext, RaisesException] IDBTransaction transaction(DOMString storeName, optional DOMString mode = "readonly"); |
+ [CallWith=ExecutionContext, RaisesException] IDBTransaction transaction(sequence<DOMString> storeNames, optional DOMString mode = "readonly"); |
+ [CallWith=ExecutionContext, RaisesException] IDBTransaction transaction(DOMStringList storeNames, optional DOMString mode = "readonly"); |
void close(); |
attribute EventHandler onabort; |
attribute EventHandler onclose; |