Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / modules / indexeddb / IDBCursor.idl
index aaeb085..0bee6c1 100644 (file)
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-interface IDBCursor {
+[
+    WillBeGarbageCollected
+] 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);
+    [CallWith=ExecutionContext, 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);