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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBCursor.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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/indexeddb/IDBDatabase.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/indexeddb/IDBCursor.idl
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBCursor.idl b/third_party/WebKit/Source/modules/indexeddb/IDBCursor.idl
index 17e55e55db45de2b64973686bff78cb6e7de486c..6c556efcc031f805d320852129caed67d53a07e6 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBCursor.idl
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBCursor.idl
@@ -42,9 +42,10 @@ enum IDBCursorDirection {
[CallWith=ScriptState, CachedAttribute=isKeyDirty] readonly attribute any key;
[CallWith=ScriptState, CachedAttribute=isPrimaryKeyDirty] readonly attribute any primaryKey;
- [CallWith=ScriptState, RaisesException] IDBRequest update(any value);
[RaisesException] void advance([EnforceRange] unsigned long count);
[CallWith=ScriptState, ImplementedAs=continueFunction, RaisesException] void continue([Default=Undefined] optional any key);
[CallWith=ScriptState, RaisesException] void continuePrimaryKey(any key, any primaryKey);
- [CallWith=ScriptState, ImplementedAs=deleteFunction, RaisesException] IDBRequest delete();
+
+ [NewObject, CallWith=ScriptState, RaisesException] IDBRequest update(any value);
+ [NewObject, CallWith=ScriptState, ImplementedAs=deleteFunction, RaisesException] IDBRequest delete();
};
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/indexeddb/IDBDatabase.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698