| 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 14 matching lines...) Expand all Loading... |
| 25 */ | 25 */ |
| 26 | 26 |
| 27 module storage { | 27 module storage { |
| 28 | 28 |
| 29 interface [ | 29 interface [ |
| 30 Conditional=INDEXED_DATABASE, | 30 Conditional=INDEXED_DATABASE, |
| 31 ActiveDOMObject, | 31 ActiveDOMObject, |
| 32 EventTarget | 32 EventTarget |
| 33 ] IDBDatabase { | 33 ] IDBDatabase { |
| 34 readonly attribute DOMString name; | 34 readonly attribute DOMString name; |
| 35 readonly attribute DOMString version; | 35 readonly attribute IDBAny version; |
| 36 readonly attribute DOMStringList objectStoreNames; | 36 readonly attribute DOMStringList objectStoreNames; |
| 37 | 37 |
| 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); |
| (...skipping 21 matching lines...) Expand all Loading... |
| 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 |