From 9ce82ea1aedfd3eddad0eed9fac6718599a25ec3 Mon Sep 17 00:00:00 2001 From: Kagami Sascha Rosylight Date: Wed, 2 Oct 2019 21:45:01 +0900 Subject: Migrate to new constructor operation syntax --- components/script/dom/webidls/DOMPoint.webidl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'components/script/dom/webidls/DOMPoint.webidl') 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; -- cgit v1.2.3