Index: core/events/ProgressEvent.idl |
diff --git a/core/events/ProgressEvent.idl b/core/events/ProgressEvent.idl |
index 8e49d7097c9c71a7e3854d89371c3a81e4de0ee4..5ff7270ce628f1ac967ee77dcc5637b7a522fb7f 100644 |
--- a/core/events/ProgressEvent.idl |
+++ b/core/events/ProgressEvent.idl |
@@ -23,11 +23,14 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
+// https://xhr.spec.whatwg.org/#interface-progressevent |
+ |
+// TODO(philipj): The spec has Exposed=(Window,Worker) |
+// https://github.com/whatwg/xhr/issues/19 |
[ |
- EventConstructor, |
+ Constructor(DOMString type, optional ProgressEventInit eventInitDict), |
] interface ProgressEvent : Event { |
- [InitializedByEventConstructor] readonly attribute boolean lengthComputable; |
- [InitializedByEventConstructor] readonly attribute unsigned long long loaded; |
- [InitializedByEventConstructor] readonly attribute unsigned long long total; |
+ readonly attribute boolean lengthComputable; |
+ readonly attribute unsigned long long loaded; |
+ readonly attribute unsigned long long total; |
}; |
- |