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 16 matching lines...) Expand all Loading... |
27 | 27 |
28 interface [ | 28 interface [ |
29 Conditional=INDEXED_DATABASE | 29 Conditional=INDEXED_DATABASE |
30 ] IDBObjectStore { | 30 ] IDBObjectStore { |
31 readonly attribute [TreatReturnedNullStringAs=Null] DOMString name; | 31 readonly attribute [TreatReturnedNullStringAs=Null] DOMString name; |
32 readonly attribute [ImplementedAs=keyPathAny] IDBAny keyPath; | 32 readonly attribute [ImplementedAs=keyPathAny] IDBAny keyPath; |
33 readonly attribute DOMStringList indexNames; | 33 readonly attribute DOMStringList indexNames; |
34 readonly attribute IDBTransaction transaction; | 34 readonly attribute IDBTransaction transaction; |
35 readonly attribute boolean autoIncrement; | 35 readonly attribute boolean autoIncrement; |
36 | 36 |
37 [CallWith=ScriptExecutionContext] IDBRequest put(in any value, in [Optio
nal] IDBKey key) | 37 [CallWith=ScriptExecutionContext] IDBRequest put(in SerializedScriptValu
e value, in [Optional] IDBKey key) |
38 raises (IDBDatabaseException); | 38 raises (IDBDatabaseException); |
39 [CallWith=ScriptExecutionContext] IDBRequest add(in any value, in [Optio
nal] IDBKey key) | 39 [CallWith=ScriptExecutionContext] IDBRequest add(in SerializedScriptValu
e value, in [Optional] IDBKey key) |
40 raises (IDBDatabaseException); | 40 raises (IDBDatabaseException); |
41 [CallWith=ScriptExecutionContext, ImplementedAs=deleteFunction] IDBReque
st delete(in IDBKeyRange? keyRange) | 41 [CallWith=ScriptExecutionContext, ImplementedAs=deleteFunction] IDBReque
st delete(in IDBKeyRange? keyRange) |
42 raises (IDBDatabaseException); | 42 raises (IDBDatabaseException); |
43 [CallWith=ScriptExecutionContext, ImplementedAs=deleteFunction] IDBReque
st delete(in IDBKey key) | 43 [CallWith=ScriptExecutionContext, ImplementedAs=deleteFunction] IDBReque
st delete(in IDBKey key) |
44 raises (IDBDatabaseException); | 44 raises (IDBDatabaseException); |
45 [CallWith=ScriptExecutionContext] IDBRequest clear() | 45 [CallWith=ScriptExecutionContext] IDBRequest clear() |
46 raises (IDBDatabaseException); | 46 raises (IDBDatabaseException); |
47 [CallWith=ScriptExecutionContext] IDBRequest get(in IDBKeyRange? key) | 47 [CallWith=ScriptExecutionContext] IDBRequest get(in IDBKeyRange? key) |
48 raises (IDBDatabaseException); | 48 raises (IDBDatabaseException); |
49 [CallWith=ScriptExecutionContext] IDBRequest get(in IDBKey key) | 49 [CallWith=ScriptExecutionContext] IDBRequest get(in IDBKey key) |
(...skipping 16 matching lines...) Expand all Loading... |
66 IDBIndex index(in DOMString name) | 66 IDBIndex index(in DOMString name) |
67 raises (IDBDatabaseException); | 67 raises (IDBDatabaseException); |
68 void deleteIndex(in DOMString name) | 68 void deleteIndex(in DOMString name) |
69 raises (IDBDatabaseException); | 69 raises (IDBDatabaseException); |
70 [CallWith=ScriptExecutionContext] IDBRequest count(in [Optional] IDBKeyR
ange? range) | 70 [CallWith=ScriptExecutionContext] IDBRequest count(in [Optional] IDBKeyR
ange? range) |
71 raises (IDBDatabaseException); | 71 raises (IDBDatabaseException); |
72 [CallWith=ScriptExecutionContext] IDBRequest count(in IDBKey key) | 72 [CallWith=ScriptExecutionContext] IDBRequest count(in IDBKey key) |
73 raises (IDBDatabaseException); | 73 raises (IDBDatabaseException); |
74 }; | 74 }; |
75 } | 75 } |
OLD | NEW |