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 17 matching lines...) Expand all Loading... | |
28 JSNoStaticTables | 28 JSNoStaticTables |
29 ] interface IDBCursor { | 29 ] interface IDBCursor { |
30 | 30 |
31 readonly attribute DOMString direction; | 31 readonly attribute DOMString direction; |
32 readonly attribute any key; | 32 readonly attribute any key; |
33 readonly attribute any primaryKey; | 33 readonly attribute any primaryKey; |
34 readonly attribute IDBAny source; | 34 readonly attribute IDBAny source; |
35 | 35 |
36 [CallWith=ScriptState] IDBRequest update(in any value) | 36 [CallWith=ScriptState] IDBRequest update(in any value) |
37 raises (DOMException); | 37 raises (DOMException); |
38 // FIXME: Make this [EnforceRange] unsigned long once webkit.org/b/96798 lan ds. | 38 void advance(in [EnforceRange] unsigned long count) |
Anton Muhin
2013/03/22 12:04:27
do we need support for this in C++ bindings?
Mads Ager (google)
2013/03/22 13:21:08
Most likely. I'm on my way out on vacation and wil
| |
39 void advance(in long long count) | |
40 raises (DOMException); | 39 raises (DOMException); |
41 [CallWith=ScriptExecutionContext, ImplementedAs=continueFunction] void conti nue(in [Optional] any key) | 40 [CallWith=ScriptExecutionContext, ImplementedAs=continueFunction] void conti nue(in [Optional] any key) |
42 raises (DOMException); | 41 raises (DOMException); |
43 [CallWith=ScriptExecutionContext, ImplementedAs=deleteFunction] IDBRequest d elete() | 42 [CallWith=ScriptExecutionContext, ImplementedAs=deleteFunction] IDBRequest d elete() |
44 raises (DOMException); | 43 raises (DOMException); |
45 }; | 44 }; |
OLD | NEW |