Skip to content

Commit

Permalink
Expose DOMMatrix in Window and Worker
Browse files Browse the repository at this point in the history
  • Loading branch information
nox committed Nov 30, 2016
1 parent b3cdcfa commit 6210bed
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
7 changes: 3 additions & 4 deletions components/script/dom/webidls/DOMMatrix.webidl
Expand Up @@ -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);
Expand Down
7 changes: 3 additions & 4 deletions components/script/dom/webidls/DOMMatrixReadOnly.webidl
Expand Up @@ -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);
Expand Down
2 changes: 2 additions & 0 deletions tests/wpt/mozilla/tests/mozilla/interfaces.worker.js
Expand Up @@ -11,6 +11,8 @@ test_interfaces([
"Blob",
"CloseEvent",
"CSSStyleDeclaration",
"DOMMatrix",
"DOMMatrixReadOnly",
"DOMPoint",
"DOMPointReadOnly",
"DOMQuad",
Expand Down

0 comments on commit 6210bed

Please sign in to comment.