aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/ImageData.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webidls/ImageData.webidl')
-rw-r--r--components/script/dom/webidls/ImageData.webidl8
1 files changed, 4 insertions, 4 deletions
diff --git a/components/script/dom/webidls/ImageData.webidl b/components/script/dom/webidls/ImageData.webidl
index d327facd5c9..b05e201f42a 100644
--- a/components/script/dom/webidls/ImageData.webidl
+++ b/components/script/dom/webidls/ImageData.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://html.spec.whatwg.org/multipage/#imagedata
@@ -9,10 +9,10 @@
* You are granted a license to use, reproduce and create derivative works of this document.
*/
-[Constructor(unsigned long sw, unsigned long sh),
- Constructor(/* Uint8ClampedArray */ object data, unsigned long sw, optional unsigned long sh),
- Exposed=(Window,Worker)]
+[Exposed=(Window,Worker)]
interface ImageData {
+ [Throws] constructor(unsigned long sw, unsigned long sh);
+ [Throws] constructor(/* Uint8ClampedArray */ object data, unsigned long sw, optional unsigned long sh);
//[Constant]
readonly attribute unsigned long width;
//[Constant]