| 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 13 matching lines...) Expand all Loading... |
| 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 25 */ | 25 */ |
| 26 | 26 |
| 27 [ | 27 [ |
| 28 ActiveDOMObject | 28 ActiveDOMObject |
| 29 ] interface IDBDatabase : EventTarget { | 29 ] interface IDBDatabase : EventTarget { |
| 30 readonly attribute DOMString name; | 30 readonly attribute DOMString name; |
| 31 readonly attribute IDBAny version; | 31 readonly attribute IDBAny version; |
| 32 readonly attribute DOMStringList objectStoreNames; | 32 readonly attribute DOMStringList objectStoreNames; |
| 33 | 33 |
| 34 attribute EventListener onabort; | 34 attribute EventHandler onabort; |
| 35 attribute EventListener onclose; | 35 attribute EventHandler onclose; |
| 36 attribute EventListener onerror; | 36 attribute EventHandler onerror; |
| 37 attribute EventListener onversionchange; | 37 attribute EventHandler onversionchange; |
| 38 | 38 |
| 39 [RaisesException] IDBObjectStore createObjectStore(DOMString name, optional
Dictionary options); | 39 [RaisesException] IDBObjectStore createObjectStore(DOMString name, optional
Dictionary options); |
| 40 [RaisesException] void deleteObjectStore(DOMString name); | 40 [RaisesException] void deleteObjectStore(DOMString name); |
| 41 [CallWith=ScriptExecutionContext, RaisesException] IDBTransaction transactio
n(DOMStringList storeNames, [Default=NullString] optional DOMString mode); | 41 [CallWith=ScriptExecutionContext, RaisesException] IDBTransaction transactio
n(DOMStringList storeNames, [Default=NullString] optional DOMString mode); |
| 42 [CallWith=ScriptExecutionContext, RaisesException] IDBTransaction transactio
n(sequence<DOMString> storeNames, [Default=NullString] optional DOMString mode); | 42 [CallWith=ScriptExecutionContext, RaisesException] IDBTransaction transactio
n(sequence<DOMString> storeNames, [Default=NullString] optional DOMString mode); |
| 43 [CallWith=ScriptExecutionContext, RaisesException] IDBTransaction transactio
n(DOMString storeName, [Default=NullString] optional DOMString mode); | 43 [CallWith=ScriptExecutionContext, RaisesException] IDBTransaction transactio
n(DOMString storeName, [Default=NullString] optional DOMString mode); |
| 44 | 44 |
| 45 void close(); | 45 void close(); |
| 46 }; | 46 }; |
| OLD | NEW |