aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/DOMPoint.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webidls/DOMPoint.webidl')
-rw-r--r--components/script/dom/webidls/DOMPoint.webidl6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/webidls/DOMPoint.webidl b/components/script/dom/webidls/DOMPoint.webidl
index 34a355f6085..ee25eed0d69 100644
--- a/components/script/dom/webidls/DOMPoint.webidl
+++ b/components/script/dom/webidls/DOMPoint.webidl
@@ -10,10 +10,10 @@
*/
// http://dev.w3.org/fxtf/geometry/Overview.html#dompoint
-[Constructor(optional unrestricted double x = 0, optional unrestricted double y = 0,
- optional unrestricted double z = 0, optional unrestricted double w = 1),
- Exposed=(Window,Worker)]
+[Exposed=(Window,Worker)]
interface DOMPoint : DOMPointReadOnly {
+ [Throws] constructor(optional unrestricted double x = 0, optional unrestricted double y = 0,
+ optional unrestricted double z = 0, optional unrestricted double w = 1);
[NewObject] static DOMPoint fromPoint(optional DOMPointInit other = {});
inherit attribute unrestricted double x;