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 22 matching lines...) Expand all Loading... |
33 "document", | 33 "document", |
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 GlobalContext=WindowAndWorker, | 40 GlobalContext=WindowAndWorker, |
41 ActiveDOMObject, | 41 ActiveDOMObject, |
42 Constructor, | 42 Constructor, |
43 CallWith=ScriptExecutionContext, | 43 ConstructorCallWith=ScriptExecutionContext, |
44 CustomConstructor(optional XMLHttpRequestOptions options), | 44 CustomConstructor(optional XMLHttpRequestOptions options), |
45 EventTarget | 45 EventTarget |
46 ] interface XMLHttpRequest { | 46 ] interface XMLHttpRequest { |
47 // From XMLHttpRequestEventTarget | 47 // From XMLHttpRequestEventTarget |
48 // event handler attributes | 48 // event handler attributes |
49 attribute EventListener onabort; | 49 attribute EventListener onabort; |
50 attribute EventListener onerror; | 50 attribute EventListener onerror; |
51 attribute EventListener onload; | 51 attribute EventListener onload; |
52 attribute EventListener onloadend; | 52 attribute EventListener onloadend; |
53 attribute EventListener onloadstart; | 53 attribute EventListener onloadstart; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 | 96 |
97 // EventTarget interface | 97 // EventTarget interface |
98 void addEventListener(DOMString type, | 98 void addEventListener(DOMString type, |
99 EventListener listener, | 99 EventListener listener, |
100 optional boolean useCapture); | 100 optional boolean useCapture); |
101 void removeEventListener(DOMString type, | 101 void removeEventListener(DOMString type, |
102 EventListener listener, | 102 EventListener listener, |
103 optional boolean useCapture); | 103 optional boolean useCapture); |
104 [RaisesException] boolean dispatchEvent(Event evt); | 104 [RaisesException] boolean dispatchEvent(Event evt); |
105 }; | 105 }; |
OLD | NEW |