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 Conditional=INDEXED_DATABASE, | 31 Conditional=INDEXED_DATABASE, |
32 ActiveDOMObject, | 32 ActiveDOMObject, |
33 EventTarget, | 33 EventTarget, |
34 JSNoStaticTables | 34 JSNoStaticTables |
35 ] interface IDBRequest { | 35 ] interface IDBRequest { |
36 [V8Custom] readonly attribute IDBAny result | 36 readonly attribute IDBAny result |
Anton Muhin
2013/03/22 12:04:27
anything we can remove?
Mads Ager (google)
2013/03/22 13:21:08
I'll double check! Thanks.
| |
37 getter raises (DOMException); | 37 getter raises (DOMException); |
38 readonly attribute DOMError error | 38 readonly attribute DOMError error |
39 getter raises (DOMException); | 39 getter raises (DOMException); |
40 [TreatReturnedNullStringAs=Undefined] readonly attribute DOMString webkitErr orMessage | 40 [TreatReturnedNullStringAs=Undefined] readonly attribute DOMString webkitErr orMessage |
41 getter raises (DOMException); | 41 getter raises (DOMException); |
42 | 42 |
43 readonly attribute IDBAny source; | 43 readonly attribute IDBAny source; |
44 readonly attribute IDBTransaction transaction; | 44 readonly attribute IDBTransaction transaction; |
45 | 45 |
46 // States | 46 // States |
47 readonly attribute DOMString readyState; | 47 readonly attribute DOMString readyState; |
48 | 48 |
49 // Events | 49 // Events |
50 attribute EventListener onsuccess; | 50 attribute EventListener onsuccess; |
51 attribute EventListener onerror; | 51 attribute EventListener onerror; |
52 | 52 |
53 // EventTarget interface | 53 // EventTarget interface |
54 void addEventListener(in DOMString type, | 54 void addEventListener(in DOMString type, |
55 in EventListener listener, | 55 in EventListener listener, |
56 in [Optional] boolean useCapture); | 56 in [Optional] boolean useCapture); |
57 void removeEventListener(in DOMString type, | 57 void removeEventListener(in DOMString type, |
58 in EventListener listener, | 58 in EventListener listener, |
59 in [Optional] boolean useCapture); | 59 in [Optional] boolean useCapture); |
60 boolean dispatchEvent(in Event evt) | 60 boolean dispatchEvent(in Event evt) |
61 raises(EventException); | 61 raises(EventException); |
62 }; | 62 }; |
OLD | NEW |