Expose DOMMatrix in Window and Worker

This commit is contained in:
Anthony Ramine 2016-11-27 12:42:36 +01:00
parent b3cdcfaa39
commit 6210bede8b
3 changed files with 8 additions and 8 deletions

View file

@ -11,10 +11,9 @@
*/ */
[Constructor, [Constructor,
// Constructor(DOMString transformList), // Constructor(DOMString transformList),
Constructor(sequence<unrestricted double> numberSequence) Constructor(sequence<unrestricted double> numberSequence),
// Exposed=(Window,Worker) Exposed=(Window,Worker)]
]
interface DOMMatrix : DOMMatrixReadOnly { interface DOMMatrix : DOMMatrixReadOnly {
[NewObject, Throws] static DOMMatrix fromMatrix(optional DOMMatrixInit other); [NewObject, Throws] static DOMMatrix fromMatrix(optional DOMMatrixInit other);

View file

@ -11,10 +11,9 @@
*/ */
[Constructor, [Constructor,
// Constructor(DOMString transformList) // Constructor(DOMString transformList)
Constructor(sequence<unrestricted double> numberSequence), Constructor(sequence<unrestricted double> numberSequence),
// Exposed=(Window,Worker) Exposed=(Window,Worker)]
]
interface DOMMatrixReadOnly { interface DOMMatrixReadOnly {
[NewObject, Throws] static DOMMatrixReadOnly fromMatrix(optional DOMMatrixInit other); [NewObject, Throws] static DOMMatrixReadOnly fromMatrix(optional DOMMatrixInit other);

View file

@ -11,6 +11,8 @@ test_interfaces([
"Blob", "Blob",
"CloseEvent", "CloseEvent",
"CSSStyleDeclaration", "CSSStyleDeclaration",
"DOMMatrix",
"DOMMatrixReadOnly",
"DOMPoint", "DOMPoint",
"DOMPointReadOnly", "DOMPointReadOnly",
"DOMQuad", "DOMQuad",