| 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 26 matching lines...) Expand all Loading... |
| 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 [TreatReturnedNullStringAs=Undefined] DOMString webki
tErrorMessage | 41 readonly attribute [TreatReturnedNullStringAs=Undefined] DOMString webki
tErrorMessage |
| 42 getter raises (IDBDatabaseException); | 42 getter raises (IDBDatabaseException); |
| 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 const unsigned short LOADING = 1; | 47 readonly attribute DOMString readyState; |
| 48 const unsigned short DONE = 2; | |
| 49 readonly attribute unsigned short readyState; | |
| 50 | 48 |
| 51 // Events | 49 // Events |
| 52 attribute EventListener onsuccess; | 50 attribute EventListener onsuccess; |
| 53 attribute EventListener onerror; | 51 attribute EventListener onerror; |
| 54 | 52 |
| 55 // EventTarget interface | 53 // EventTarget interface |
| 56 void addEventListener(in DOMString type, | 54 void addEventListener(in DOMString type, |
| 57 in EventListener listener, | 55 in EventListener listener, |
| 58 in [Optional] boolean useCapture); | 56 in [Optional] boolean useCapture); |
| 59 void removeEventListener(in DOMString type, | 57 void removeEventListener(in DOMString type, |
| 60 in EventListener listener, | 58 in EventListener listener, |
| 61 in [Optional] boolean useCapture); | 59 in [Optional] boolean useCapture); |
| 62 boolean dispatchEvent(in Event evt) | 60 boolean dispatchEvent(in Event evt) |
| 63 raises(EventException); | 61 raises(EventException); |
| 64 }; | 62 }; |
| 65 } | 63 } |
| OLD | NEW |