Index: core/fileapi/FileReader.idl |
diff --git a/core/fileapi/FileReader.idl b/core/fileapi/FileReader.idl |
index a9bf2e5b3ca4fae7d274e9fc2bd11342102272d8..2727d12b157cd9133bd7f9f447916190f7d4df76 100644 |
--- a/core/fileapi/FileReader.idl |
+++ b/core/fileapi/FileReader.idl |
@@ -30,12 +30,11 @@ |
*/ |
[ |
- GlobalContext=WindowAndWorker, |
+ GlobalContext=Window&WorkerGlobalScope, |
ActiveDOMObject, |
Constructor, |
- ConstructorCallWith=ScriptExecutionContext, |
- EventTarget |
-] interface FileReader { |
+ ConstructorCallWith=ScriptExecutionContext |
+] interface FileReader : EventTarget { |
// ready states |
const unsigned short EMPTY = 0; |
const unsigned short LOADING = 1; |
@@ -55,15 +54,6 @@ |
readonly attribute FileError error; |
- // 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); |
- |
attribute EventListener onloadstart; |
attribute EventListener onprogress; |
attribute EventListener onload; |