| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2011 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 attribute EventListener onabort; | 38 attribute EventListener onabort; |
| 39 attribute EventListener onerror; | 39 attribute EventListener onerror; |
| 40 attribute EventListener onversionchange; | 40 attribute EventListener onversionchange; |
| 41 | 41 |
| 42 IDBObjectStore createObjectStore(in DOMString name, in [Optional] Dictio
nary options) | 42 IDBObjectStore createObjectStore(in DOMString name, in [Optional] Dictio
nary options) |
| 43 raises (IDBDatabaseException); | 43 raises (IDBDatabaseException); |
| 44 void deleteObjectStore(in DOMString name) | 44 void deleteObjectStore(in DOMString name) |
| 45 raises (IDBDatabaseException); | 45 raises (IDBDatabaseException); |
| 46 [CallWith=ScriptExecutionContext] IDBVersionChangeRequest setVersion(in
DOMString version) | 46 [CallWith=ScriptExecutionContext] IDBVersionChangeRequest setVersion(in
DOMString version) |
| 47 raises (IDBDatabaseException); | 47 raises (IDBDatabaseException); |
| 48 [CallWith=ScriptExecutionContext] IDBTransaction transaction(in DOMStrin
gList? storeNames, in [Optional=DefaultIsNullString] DOMString mode) | 48 [CallWith=ScriptExecutionContext] IDBTransaction transaction(in DOMStrin
gList storeNames, in [Optional=DefaultIsNullString] DOMString mode) |
| 49 raises (IDBDatabaseException); | 49 raises (IDBDatabaseException); |
| 50 [CallWith=ScriptExecutionContext] IDBTransaction transaction(in DOMStrin
g[]? storeNames, in [Optional=DefaultIsNullString] DOMString mode) | 50 [CallWith=ScriptExecutionContext] IDBTransaction transaction(in DOMStrin
g[] storeNames, in [Optional=DefaultIsNullString] DOMString mode) |
| 51 raises (IDBDatabaseException); | 51 raises (IDBDatabaseException); |
| 52 [CallWith=ScriptExecutionContext] IDBTransaction transaction(in DOMStrin
g storeName, in [Optional=DefaultIsNullString] DOMString mode) | 52 [CallWith=ScriptExecutionContext] IDBTransaction transaction(in DOMStrin
g storeName, in [Optional=DefaultIsNullString] DOMString mode) |
| 53 raises (IDBDatabaseException); | 53 raises (IDBDatabaseException); |
| 54 | 54 |
| 55 // FIXME: remove these when https://bugs.webkit.org/show_bug.cgi?id=8532
6 is fixed. | 55 // FIXME: remove these when https://bugs.webkit.org/show_bug.cgi?id=8532
6 is fixed. |
| 56 [CallWith=ScriptExecutionContext] IDBTransaction transaction(in DOMStrin
gList? storeNames, in unsigned short mode) | 56 [CallWith=ScriptExecutionContext] IDBTransaction transaction(in DOMStrin
gList storeNames, in unsigned short mode) |
| 57 raises (IDBDatabaseException); | 57 raises (IDBDatabaseException); |
| 58 [CallWith=ScriptExecutionContext] IDBTransaction transaction(in DOMStrin
g[]? storeNames, in unsigned short mode) | 58 [CallWith=ScriptExecutionContext] IDBTransaction transaction(in DOMStrin
g[] storeNames, in unsigned short mode) |
| 59 raises (IDBDatabaseException); | 59 raises (IDBDatabaseException); |
| 60 [CallWith=ScriptExecutionContext] IDBTransaction transaction(in DOMStrin
g storeName, in unsigned short mode) | 60 [CallWith=ScriptExecutionContext] IDBTransaction transaction(in DOMStrin
g storeName, in unsigned short mode) |
| 61 raises (IDBDatabaseException); | 61 raises (IDBDatabaseException); |
| 62 | 62 |
| 63 void close(); | 63 void close(); |
| 64 | 64 |
| 65 // EventTarget interface | 65 // EventTarget interface |
| 66 void addEventListener(in DOMString type, | 66 void addEventListener(in DOMString type, |
| 67 in EventListener listener, | 67 in EventListener listener, |
| 68 in [Optional] boolean useCapture); | 68 in [Optional] boolean useCapture); |
| 69 void removeEventListener(in DOMString type, | 69 void removeEventListener(in DOMString type, |
| 70 in EventListener listener, | 70 in EventListener listener, |
| 71 in [Optional] boolean useCapture); | 71 in [Optional] boolean useCapture); |
| 72 boolean dispatchEvent(in Event evt) | 72 boolean dispatchEvent(in Event evt) |
| 73 raises(EventException); | 73 raises(EventException); |
| 74 }; | 74 }; |
| 75 | 75 |
| 76 } | 76 } |
| OLD | NEW |