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 | 26 |
27 [ | 27 [ |
28 ActiveDOMObject, | 28 ActiveDOMObject, |
29 EventTarget | 29 EventTarget |
30 ] interface IDBTransaction { | 30 ] interface IDBTransaction { |
31 | 31 |
32 // Properties | 32 // Properties |
33 readonly attribute DOMString mode; | 33 readonly attribute DOMString mode; |
34 readonly attribute IDBDatabase db; | 34 readonly attribute IDBDatabase db; |
35 readonly attribute DOMError error; | 35 readonly attribute DOMError error; |
36 [TreatReturnedNullStringAs=Undefined] readonly attribute DOMString webkitErr
orMessage; | |
37 | 36 |
38 // Methods | 37 // Methods |
39 [RaisesException] IDBObjectStore objectStore (DOMString name); | 38 [RaisesException] IDBObjectStore objectStore (DOMString name); |
40 [RaisesException] void abort (); | 39 [RaisesException] void abort (); |
41 | 40 |
42 // Events | 41 // Events |
43 attribute EventListener onabort; | 42 attribute EventListener onabort; |
44 attribute EventListener oncomplete; | 43 attribute EventListener oncomplete; |
45 attribute EventListener onerror; | 44 attribute EventListener onerror; |
46 // EventTarget interface | 45 // EventTarget interface |
47 void addEventListener(DOMString type, | 46 void addEventListener(DOMString type, |
48 EventListener listener, | 47 EventListener listener, |
49 optional boolean useCapture); | 48 optional boolean useCapture); |
50 void removeEventListener(DOMString type, | 49 void removeEventListener(DOMString type, |
51 EventListener listener, | 50 EventListener listener, |
52 optional boolean useCapture); | 51 optional boolean useCapture); |
53 [RaisesException] boolean dispatchEvent(Event evt); | 52 [RaisesException] boolean dispatchEvent(Event evt); |
54 }; | 53 }; |
OLD | NEW |