aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/ProgressEvent.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webidls/ProgressEvent.webidl')
-rw-r--r--components/script/dom/webidls/ProgressEvent.webidl6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/webidls/ProgressEvent.webidl b/components/script/dom/webidls/ProgressEvent.webidl
index 0c518822ef4..17d066ef187 100644
--- a/components/script/dom/webidls/ProgressEvent.webidl
+++ b/components/script/dom/webidls/ProgressEvent.webidl
@@ -1,6 +1,6 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+ * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
/*
* The origin of this IDL file is
* https://xhr.spec.whatwg.org/#interface-progressevent
@@ -12,9 +12,9 @@
* http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0.
*/
-[Constructor(DOMString type, optional ProgressEventInit eventInitDict),
- Exposed=(Window,Worker)]
+[Exposed=(Window,Worker)]
interface ProgressEvent : Event {
+ [Throws] constructor(DOMString type, optional ProgressEventInit eventInitDict = {});
readonly attribute boolean lengthComputable;
readonly attribute unsigned long long loaded;
readonly attribute unsigned long long total;