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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBDatabase.idl

Issue 2837613003: IndexedDB: Add [SameObject] / [NewObject] annotations per spec (Closed)
Patch Set: Remove extra NewObject annotations Created 3 years, 8 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: third_party/WebKit/Source/modules/indexeddb/IDBDatabase.idl
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.idl b/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.idl
index 12f3aea31f686dc7bf2fdcf123a25116706c937d..3febcf146ecd9ac0ad6fbbf006ee6d3d06697096 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.idl
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.idl
@@ -35,11 +35,14 @@
readonly attribute unsigned long long version;
readonly attribute DOMStringList objectStoreNames;
- [RaisesException] IDBObjectStore createObjectStore(DOMString name, optional IDBObjectStoreParameters options);
- [RaisesException] void deleteObjectStore(DOMString name);
- [CallWith=ScriptState, RaisesException] IDBTransaction transaction((DOMString or sequence<DOMString> or DOMStringList) storeNames, optional IDBTransactionMode mode = "readonly");
+ [NewObject, CallWith=ScriptState, RaisesException] IDBTransaction transaction((DOMString or sequence<DOMString> or DOMStringList) storeNames,
+ optional IDBTransactionMode mode = "readonly");
void close();
+ [NewObject, RaisesException] IDBObjectStore createObjectStore(DOMString name,
+ optional IDBObjectStoreParameters options);
+ [RaisesException] void deleteObjectStore(DOMString name);
+
attribute EventHandler onabort;
attribute EventHandler onclose;
attribute EventHandler onerror;
« no previous file with comments | « third_party/WebKit/Source/modules/indexeddb/IDBCursor.idl ('k') | third_party/WebKit/Source/modules/indexeddb/IDBFactory.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698