| Index: modules/indexeddb/IDBDatabase.idl
|
| diff --git a/modules/indexeddb/IDBDatabase.idl b/modules/indexeddb/IDBDatabase.idl
|
| index c8e80d373b9d551369919141043715f6e2f127bb..41e8ff059f22c49b22d5334be1168039c1eacd96 100644
|
| --- a/modules/indexeddb/IDBDatabase.idl
|
| +++ b/modules/indexeddb/IDBDatabase.idl
|
| @@ -24,23 +24,24 @@
|
| * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| +// https://dvcs.w3.org/hg/IndexedDB/raw-file/default/Overview.html#idl-def-IDBDatabase
|
| +
|
| [
|
| - ActiveDOMObject
|
| + ActiveDOMObject,
|
| + GarbageCollected,
|
| ] interface IDBDatabase : EventTarget {
|
| readonly attribute DOMString name;
|
| - [CallWith=ExecutionContext] readonly attribute any version;
|
| + [CallWith=ScriptState] readonly attribute any version;
|
| readonly attribute DOMStringList objectStoreNames;
|
| -
|
| + [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);
|
| + void close();
|
| attribute EventHandler onabort;
|
| attribute EventHandler onclose;
|
| attribute EventHandler onerror;
|
| attribute EventHandler onversionchange;
|
| -
|
| - [RaisesException] IDBObjectStore createObjectStore(DOMString name, optional Dictionary options);
|
| - [RaisesException] void deleteObjectStore(DOMString name);
|
| - [CallWith=ExecutionContext, RaisesException] IDBTransaction transaction(DOMStringList storeNames, [Default=NullString] optional DOMString mode);
|
| - [CallWith=ExecutionContext, RaisesException] IDBTransaction transaction(sequence<DOMString> storeNames, [Default=NullString] optional DOMString mode);
|
| - [CallWith=ExecutionContext, RaisesException] IDBTransaction transaction(DOMString storeName, [Default=NullString] optional DOMString mode);
|
| -
|
| - void close();
|
| };
|
|
|