Index: Source/core/xml/XMLHttpRequest.idl |
diff --git a/Source/core/xml/XMLHttpRequest.idl b/Source/core/xml/XMLHttpRequest.idl |
index fbe72176829fcab37be4b68bc649e9d70ec16d34..bad83ca82fa898c9be9fadd1ee7d805f7e5a46cb 100644 |
--- a/Source/core/xml/XMLHttpRequest.idl |
+++ b/Source/core/xml/XMLHttpRequest.idl |
@@ -41,9 +41,8 @@ enum XMLHttpRequestResponseType { |
ActiveDOMObject, |
Constructor, |
ConstructorCallWith=ScriptExecutionContext, |
- CustomConstructor(optional XMLHttpRequestOptions options), |
- EventTarget |
-] interface XMLHttpRequest { |
+ CustomConstructor(optional XMLHttpRequestOptions options) |
+] interface XMLHttpRequest : EventTarget { |
// From XMLHttpRequestEventTarget |
// event handler attributes |
attribute EventListener onabort; |
@@ -93,13 +92,4 @@ enum XMLHttpRequestResponseType { |
// Extension |
void overrideMimeType(DOMString override); |
- |
- // EventTarget interface |
- void addEventListener(DOMString type, |
- EventListener listener, |
- optional boolean useCapture); |
- void removeEventListener(DOMString type, |
- EventListener listener, |
- optional boolean useCapture); |
- [RaisesException] boolean dispatchEvent(Event evt); |
}; |