| Index: core/xml/XMLHttpRequest.idl
|
| diff --git a/core/xml/XMLHttpRequest.idl b/core/xml/XMLHttpRequest.idl
|
| index 8811709b4d451a6285b9fc245c73ed57589fa069..bad83ca82fa898c9be9fadd1ee7d805f7e5a46cb 100644
|
| --- a/core/xml/XMLHttpRequest.idl
|
| +++ b/core/xml/XMLHttpRequest.idl
|
| @@ -37,13 +37,12 @@ enum XMLHttpRequestResponseType {
|
| };
|
|
|
| [
|
| - GlobalContext=WindowAndWorker,
|
| + GlobalContext=Window&WorkerGlobalScope,
|
| 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);
|
| };
|
|
|