| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008, 2011 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 // FIXME: enable once support for json responseText is completed. (bug #73648
) | 34 // FIXME: enable once support for json responseText is completed. (bug #73648
) |
| 35 // "json", | 35 // "json", |
| 36 "text" | 36 "text" |
| 37 }; | 37 }; |
| 38 | 38 |
| 39 [ | 39 [ |
| 40 ActiveDOMObject, | 40 ActiveDOMObject, |
| 41 Constructor, | 41 Constructor, |
| 42 CallWith=ScriptExecutionContext, | 42 CallWith=ScriptExecutionContext, |
| 43 V8CustomConstructor, | 43 V8CustomConstructor, |
| 44 JSCustomMarkFunction, | 44 EventTarget |
| 45 EventTarget, | |
| 46 JSNoStaticTables | |
| 47 ] interface XMLHttpRequest { | 45 ] interface XMLHttpRequest { |
| 48 // From XMLHttpRequestEventTarget | 46 // From XMLHttpRequestEventTarget |
| 49 // event handler attributes | 47 // event handler attributes |
| 50 attribute EventListener onabort; | 48 attribute EventListener onabort; |
| 51 attribute EventListener onerror; | 49 attribute EventListener onerror; |
| 52 attribute EventListener onload; | 50 attribute EventListener onload; |
| 53 attribute EventListener onloadend; | 51 attribute EventListener onloadend; |
| 54 attribute EventListener onloadstart; | 52 attribute EventListener onloadstart; |
| 55 attribute EventListener onprogress; | 53 attribute EventListener onprogress; |
| 56 [Conditional=XHR_TIMEOUT] attribute EventListener ontimeout; | 54 [Conditional=XHR_TIMEOUT] attribute EventListener ontimeout; |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 // EventTarget interface | 109 // EventTarget interface |
| 112 void addEventListener(in DOMString type, | 110 void addEventListener(in DOMString type, |
| 113 in EventListener listener, | 111 in EventListener listener, |
| 114 in [Optional] boolean useCapture); | 112 in [Optional] boolean useCapture); |
| 115 void removeEventListener(in DOMString type, | 113 void removeEventListener(in DOMString type, |
| 116 in EventListener listener, | 114 in EventListener listener, |
| 117 in [Optional] boolean useCapture); | 115 in [Optional] boolean useCapture); |
| 118 boolean dispatchEvent(in Event evt) | 116 boolean dispatchEvent(in Event evt) |
| 119 raises(EventException); | 117 raises(EventException); |
| 120 }; | 118 }; |
| OLD | NEW |