OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 10 matching lines...) Expand all Loading... |
21 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 21 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
24 */ | 24 */ |
25 | 25 |
26 interface IDBCursor { | 26 interface IDBCursor { |
27 | 27 |
28 readonly attribute DOMString direction; | 28 readonly attribute DOMString direction; |
29 [CallWith=ExecutionContext, CachedAttribute=isKeyDirty] readonly attribute a
ny key; | 29 [CallWith=ExecutionContext, CachedAttribute=isKeyDirty] readonly attribute a
ny key; |
30 [CallWith=ExecutionContext, CachedAttribute=isPrimaryKeyDirty] readonly attr
ibute any primaryKey; | 30 [CallWith=ExecutionContext, CachedAttribute=isPrimaryKeyDirty] readonly attr
ibute any primaryKey; |
31 readonly attribute IDBAny source; | 31 [CallWith=ExecutionContext] readonly attribute any source; |
32 | 32 |
33 [CallWith=ScriptState, RaisesException] IDBRequest update(any value); | 33 [CallWith=ScriptState, RaisesException] IDBRequest update(any value); |
34 [RaisesException] void advance([EnforceRange] unsigned long count); | 34 [RaisesException] void advance([EnforceRange] unsigned long count); |
35 [CallWith=ExecutionContext, ImplementedAs=continueFunction, RaisesException]
void continue([Default=Undefined] optional any key); | 35 [CallWith=ExecutionContext, ImplementedAs=continueFunction, RaisesException]
void continue([Default=Undefined] optional any key); |
| 36 [CallWith=ExecutionContext, RaisesException, RuntimeEnabled=IndexedDBExperim
ental] void continuePrimaryKey(any key, any primaryKey); |
36 [CallWith=ExecutionContext, ImplementedAs=deleteFunction, RaisesException] I
DBRequest delete(); | 37 [CallWith=ExecutionContext, ImplementedAs=deleteFunction, RaisesException] I
DBRequest delete(); |
37 }; | 38 }; |
OLD | NEW |