| 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 ] IDBIndex { | 30 ] IDBIndex { |
| 31 readonly attribute DOMString name; | 31 readonly attribute DOMString name; |
| 32 readonly attribute IDBObjectStore objectStore; | 32 readonly attribute IDBObjectStore objectStore; |
| 33 readonly attribute IDBAny keyPath; | 33 readonly attribute IDBAny keyPath; |
| 34 readonly attribute boolean unique; | 34 readonly attribute boolean unique; |
| 35 readonly attribute boolean multiEntry; | 35 readonly attribute boolean multiEntry; |
| 36 | 36 |
| 37 [CallWith=ScriptExecutionContext] IDBRequest openCursor(in [Optional] ID
BKeyRange range, in [Optional] DOMString direction) | 37 [CallWith=ScriptExecutionContext] IDBRequest openCursor(in [Optional] ID
BKeyRange? range, in [Optional] DOMString direction) |
| 38 raises (IDBDatabaseException); | 38 raises (IDBDatabaseException); |
| 39 [CallWith=ScriptExecutionContext] IDBRequest openCursor(in IDBKey key, i
n [Optional] DOMString direction) | 39 [CallWith=ScriptExecutionContext] IDBRequest openCursor(in IDBKey key, i
n [Optional] DOMString direction) |
| 40 raises (IDBDatabaseException); | 40 raises (IDBDatabaseException); |
| 41 | 41 |
| 42 [CallWith=ScriptExecutionContext] IDBRequest openKeyCursor(in [Optional]
IDBKeyRange range, in [Optional] DOMString direction) | 42 [CallWith=ScriptExecutionContext] IDBRequest openKeyCursor(in [Optional]
IDBKeyRange? range, in [Optional] DOMString direction) |
| 43 raises (IDBDatabaseException); | 43 raises (IDBDatabaseException); |
| 44 [CallWith=ScriptExecutionContext] IDBRequest openKeyCursor(in IDBKey key
, in [Optional] DOMString direction) | 44 [CallWith=ScriptExecutionContext] IDBRequest openKeyCursor(in IDBKey key
, in [Optional] DOMString direction) |
| 45 raises (IDBDatabaseException); | 45 raises (IDBDatabaseException); |
| 46 | 46 |
| 47 // FIXME: remove these when | 47 // FIXME: remove these when |
| 48 // https://bugs.webkit.org/show_bug.cgi?id=85326 is fixed. | 48 // https://bugs.webkit.org/show_bug.cgi?id=85326 is fixed. |
| 49 [CallWith=ScriptExecutionContext] IDBRequest openCursor(in IDBKeyRange r
ange, in unsigned short direction) | 49 [CallWith=ScriptExecutionContext] IDBRequest openCursor(in [Optional] ID
BKeyRange? range, in [Optional] unsigned short direction) |
| 50 raises (IDBDatabaseException); | 50 raises (IDBDatabaseException); |
| 51 [CallWith=ScriptExecutionContext] IDBRequest openCursor(in IDBKey key, i
n unsigned short direction) | 51 [CallWith=ScriptExecutionContext] IDBRequest openCursor(in IDBKey key, i
n unsigned short direction) |
| 52 raises (IDBDatabaseException); | 52 raises (IDBDatabaseException); |
| 53 [CallWith=ScriptExecutionContext] IDBRequest openKeyCursor(in IDBKeyRang
e range, in unsigned short direction) | 53 [CallWith=ScriptExecutionContext] IDBRequest openKeyCursor(in [Optional]
IDBKeyRange? range, in [Optional] unsigned short direction) |
| 54 raises (IDBDatabaseException); | 54 raises (IDBDatabaseException); |
| 55 [CallWith=ScriptExecutionContext] IDBRequest openKeyCursor(in IDBKey key
, in unsigned short direction) | 55 [CallWith=ScriptExecutionContext] IDBRequest openKeyCursor(in IDBKey key
, in unsigned short direction) |
| 56 raises (IDBDatabaseException); | 56 raises (IDBDatabaseException); |
| 57 | 57 |
| 58 [CallWith=ScriptExecutionContext] IDBRequest get(in IDBKeyRange key) | 58 [CallWith=ScriptExecutionContext] IDBRequest get(in IDBKeyRange? key) |
| 59 raises (IDBDatabaseException); | 59 raises (IDBDatabaseException); |
| 60 [CallWith=ScriptExecutionContext] IDBRequest get(in IDBKey key) | 60 [CallWith=ScriptExecutionContext] IDBRequest get(in IDBKey key) |
| 61 raises (IDBDatabaseException); | 61 raises (IDBDatabaseException); |
| 62 [CallWith=ScriptExecutionContext] IDBRequest getKey(in IDBKeyRange key) | 62 [CallWith=ScriptExecutionContext] IDBRequest getKey(in IDBKeyRange? key) |
| 63 raises (IDBDatabaseException); | 63 raises (IDBDatabaseException); |
| 64 [CallWith=ScriptExecutionContext] IDBRequest getKey(in IDBKey key) | 64 [CallWith=ScriptExecutionContext] IDBRequest getKey(in IDBKey key) |
| 65 raises (IDBDatabaseException); | 65 raises (IDBDatabaseException); |
| 66 [CallWith=ScriptExecutionContext] IDBRequest count(in [Optional] IDBKeyR
ange range) | 66 [CallWith=ScriptExecutionContext] IDBRequest count(in [Optional] IDBKeyR
ange? range) |
| 67 raises (IDBDatabaseException); | 67 raises (IDBDatabaseException); |
| 68 [CallWith=ScriptExecutionContext] IDBRequest count(in IDBKey key) | 68 [CallWith=ScriptExecutionContext] IDBRequest count(in IDBKey key) |
| 69 raises (IDBDatabaseException); | 69 raises (IDBDatabaseException); |
| 70 }; | 70 }; |
| 71 | 71 |
| 72 } | 72 } |
| OLD | NEW |