Index: modules/indexeddb/IDBCursor.idl |
diff --git a/modules/indexeddb/IDBCursor.idl b/modules/indexeddb/IDBCursor.idl |
index aaeb0851bd17732286e779b616eca954c3820146..727f529293cc4f1baca14ba1240a5bdd8a52799f 100644 |
--- a/modules/indexeddb/IDBCursor.idl |
+++ b/modules/indexeddb/IDBCursor.idl |
@@ -23,16 +23,19 @@ |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-interface IDBCursor { |
+[ |
+ GarbageCollected |
+] interface IDBCursor { |
readonly attribute DOMString direction; |
- [CallWith=ExecutionContext, CachedAttribute=isKeyDirty] readonly attribute any key; |
- [CallWith=ExecutionContext, CachedAttribute=isPrimaryKeyDirty] readonly attribute any primaryKey; |
- [CallWith=ExecutionContext] readonly attribute any source; |
+ [CallWith=ScriptState, CachedAttribute=isKeyDirty] readonly attribute any key; |
+ [CallWith=ScriptState, CachedAttribute=isPrimaryKeyDirty] readonly attribute any primaryKey; |
+ [CallWith=ScriptState] readonly attribute any source; |
[CallWith=ScriptState, RaisesException] IDBRequest update(any value); |
[RaisesException] void advance([EnforceRange] unsigned long count); |
- [CallWith=ExecutionContext, ImplementedAs=continueFunction, RaisesException] void continue([Default=Undefined] optional any key); |
- [CallWith=ExecutionContext, RaisesException, RuntimeEnabled=IndexedDBExperimental] void continuePrimaryKey(any key, any primaryKey); |
- [CallWith=ExecutionContext, ImplementedAs=deleteFunction, RaisesException] IDBRequest delete(); |
+ // FIXMEDART: Define new names for these (see b/4436830). |
+ [CallWith=ScriptState, ImplementedAs=continueFunction, RaisesException] void continue([Default=Undefined] optional any key); |
+ [CallWith=ScriptState, RaisesException, RuntimeEnabled=IndexedDBExperimental] void continuePrimaryKey(any key, any primaryKey); |
+ [CallWith=ScriptState, ImplementedAs=deleteFunction, RaisesException] IDBRequest delete(); |
}; |