| 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 20 matching lines...) Expand all Loading... |
| 31 | 31 |
| 32 interface [ | 32 interface [ |
| 33 Conditional=INDEXED_DATABASE, | 33 Conditional=INDEXED_DATABASE, |
| 34 ActiveDOMObject, | 34 ActiveDOMObject, |
| 35 EventTarget | 35 EventTarget |
| 36 ] IDBRequest { | 36 ] IDBRequest { |
| 37 readonly attribute IDBAny result | 37 readonly attribute IDBAny result |
| 38 getter raises (IDBDatabaseException); | 38 getter raises (IDBDatabaseException); |
| 39 readonly attribute unsigned short errorCode | 39 readonly attribute unsigned short errorCode |
| 40 getter raises (IDBDatabaseException); | 40 getter raises (IDBDatabaseException); |
| 41 readonly attribute DOMError error |
| 42 getter raises (IDBDatabaseException); |
| 41 readonly attribute [TreatReturnedNullStringAs=Undefined] DOMString webki
tErrorMessage | 43 readonly attribute [TreatReturnedNullStringAs=Undefined] DOMString webki
tErrorMessage |
| 42 getter raises (IDBDatabaseException); | 44 getter raises (IDBDatabaseException); |
| 45 |
| 43 readonly attribute IDBAny source; | 46 readonly attribute IDBAny source; |
| 44 readonly attribute IDBTransaction transaction; | 47 readonly attribute IDBTransaction transaction; |
| 45 | 48 |
| 46 // States | 49 // States |
| 47 readonly attribute DOMString readyState; | 50 readonly attribute DOMString readyState; |
| 48 | 51 |
| 49 // Events | 52 // Events |
| 50 attribute EventListener onsuccess; | 53 attribute EventListener onsuccess; |
| 51 attribute EventListener onerror; | 54 attribute EventListener onerror; |
| 52 | 55 |
| 53 // EventTarget interface | 56 // EventTarget interface |
| 54 void addEventListener(in DOMString type, | 57 void addEventListener(in DOMString type, |
| 55 in EventListener listener, | 58 in EventListener listener, |
| 56 in [Optional] boolean useCapture); | 59 in [Optional] boolean useCapture); |
| 57 void removeEventListener(in DOMString type, | 60 void removeEventListener(in DOMString type, |
| 58 in EventListener listener, | 61 in EventListener listener, |
| 59 in [Optional] boolean useCapture); | 62 in [Optional] boolean useCapture); |
| 60 boolean dispatchEvent(in Event evt) | 63 boolean dispatchEvent(in Event evt) |
| 61 raises(EventException); | 64 raises(EventException); |
| 62 }; | 65 }; |
| 63 } | 66 } |
| OLD | NEW |