| 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 15 matching lines...) Expand all Loading... |
| 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 28 */ | 28 */ |
| 29 | 29 |
| 30 [ | 30 [ |
| 31 ActiveDOMObject, | 31 ActiveDOMObject, |
| 32 EventTarget | 32 EventTarget |
| 33 ] interface IDBRequest { | 33 ] interface IDBRequest { |
| 34 [GetterRaisesException] readonly attribute IDBAny result; | 34 [GetterRaisesException] readonly attribute IDBAny result; |
| 35 [GetterRaisesException] readonly attribute DOMError error; | 35 [GetterRaisesException] readonly attribute DOMError error; |
| 36 [TreatReturnedNullStringAs=Undefined, GetterRaisesException] readonly attrib
ute DOMString webkitErrorMessage; | |
| 37 | 36 |
| 38 readonly attribute IDBAny source; | 37 readonly attribute IDBAny source; |
| 39 readonly attribute IDBTransaction transaction; | 38 readonly attribute IDBTransaction transaction; |
| 40 | 39 |
| 41 // States | 40 // States |
| 42 readonly attribute DOMString readyState; | 41 readonly attribute DOMString readyState; |
| 43 | 42 |
| 44 // Events | 43 // Events |
| 45 attribute EventListener onsuccess; | 44 attribute EventListener onsuccess; |
| 46 attribute EventListener onerror; | 45 attribute EventListener onerror; |
| 47 | 46 |
| 48 // EventTarget interface | 47 // EventTarget interface |
| 49 void addEventListener(DOMString type, | 48 void addEventListener(DOMString type, |
| 50 EventListener listener, | 49 EventListener listener, |
| 51 optional boolean useCapture); | 50 optional boolean useCapture); |
| 52 void removeEventListener(DOMString type, | 51 void removeEventListener(DOMString type, |
| 53 EventListener listener, | 52 EventListener listener, |
| 54 optional boolean useCapture); | 53 optional boolean useCapture); |
| 55 [RaisesException] boolean dispatchEvent(Event evt); | 54 [RaisesException] boolean dispatchEvent(Event evt); |
| 56 }; | 55 }; |
| OLD | NEW |