aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2016-11-27 12:42:36 +0100
committerAnthony Ramine <n.oxyde@gmail.com>2016-11-30 23:23:38 +0100
commit6210bede8b978a353b217f96de3ac120c25ff17c (patch)
tree95e2f28cbf37737de789964c9dd2f74dae7896d5 /components/script/dom
parentb3cdcfaa39a7933a9f87a6881f5d58e5afe94086 (diff)
downloadservo-6210bede8b978a353b217f96de3ac120c25ff17c.tar.gz
servo-6210bede8b978a353b217f96de3ac120c25ff17c.zip
Expose DOMMatrix in Window and Worker
Diffstat (limited to 'components/script/dom')
-rw-r--r--components/script/dom/webidls/DOMMatrix.webidl7
-rw-r--r--components/script/dom/webidls/DOMMatrixReadOnly.webidl7
2 files changed, 6 insertions, 8 deletions
diff --git a/components/script/dom/webidls/DOMMatrix.webidl b/components/script/dom/webidls/DOMMatrix.webidl
index d8306d315fb..d1dd65e8a63 100644
--- a/components/script/dom/webidls/DOMMatrix.webidl
+++ b/components/script/dom/webidls/DOMMatrix.webidl
@@ -11,10 +11,9 @@
*/
[Constructor,
-// Constructor(DOMString transformList),
-Constructor(sequence<unrestricted double> numberSequence)
-// Exposed=(Window,Worker)
-]
+ // Constructor(DOMString transformList),
+ Constructor(sequence<unrestricted double> numberSequence),
+ Exposed=(Window,Worker)]
interface DOMMatrix : DOMMatrixReadOnly {
[NewObject, Throws] static DOMMatrix fromMatrix(optional DOMMatrixInit other);
diff --git a/components/script/dom/webidls/DOMMatrixReadOnly.webidl b/components/script/dom/webidls/DOMMatrixReadOnly.webidl
index 6d92a6b0828..9261002e348 100644
--- a/components/script/dom/webidls/DOMMatrixReadOnly.webidl
+++ b/components/script/dom/webidls/DOMMatrixReadOnly.webidl
@@ -11,10 +11,9 @@
*/
[Constructor,
-// Constructor(DOMString transformList)
-Constructor(sequence<unrestricted double> numberSequence),
-// Exposed=(Window,Worker)
-]
+ // Constructor(DOMString transformList)
+ Constructor(sequence<unrestricted double> numberSequence),
+ Exposed=(Window,Worker)]
interface DOMMatrixReadOnly {
[NewObject, Throws] static DOMMatrixReadOnly fromMatrix(optional DOMMatrixInit other);