OLD | NEW |
1 This is a testharness.js-based test. | 1 This is a testharness.js-based test. |
2 PASS testConstructor0 | 2 Found 96 tests; 76 PASS, 20 FAIL, 0 TIMEOUT, 0 NOTRUN. |
3 PASS testConstructor1 | 3 PASS new DOMMatrix() |
4 FAIL testConstructor2 Failed to construct 'DOMMatrix': Failed to parse '0,0'. | 4 FAIL new DOMMatrix(undefined) Failed to construct 'DOMMatrix': Failed to parse '
undefined'. |
5 FAIL testConstructor3 Failed to construct 'DOMMatrix': Failed to parse '0,0'. | 5 PASS new DOMMatrix(new DOMMatrix()) |
6 FAIL testConstructor4 Failed to construct 'DOMMatrix': Failed to parse '2,0,0,0,
0,2,0,0,0,0,1,0,10,10,0,1'. | 6 PASS new DOMMatrix("none") |
7 FAIL testConstructor5 Failed to construct 'DOMMatrix': Failed to parse '0,0'. | 7 PASS new DOMMatrix(" none") |
8 PASS testConstructor6 | 8 PASS new DOMMatrix("none ") |
9 FAIL testConstructor7 float64Array is not defined | 9 PASS new DOMMatrix("NONE") |
10 FAIL testConstructor8 assert_equals: Expected value for is2D is false expected f
alse but got true | 10 PASS new DOMMatrix("none/**/") |
11 FAIL testConstructor9 Failed to construct 'DOMMatrix': Failed to parse 'scale(2
2) translateX(5) translateY(5)'. | 11 PASS new DOMMatrix("/**/none") |
12 FAIL testConstructor10 Failed to construct 'DOMMatrix': Failed to parse 'scale(2
, 2), translateX(5) ,translateY(5)'. | 12 PASS new DOMMatrix("") |
13 FAIL testConstructor11 assert_throws: function "function () { new DOMMatrix('sca
le(2)translateX(5px)'); }" did not throw | 13 FAIL new DOMMatrix(float32Array) 16 elements Failed to construct 'DOMMatrix': Fa
iled to parse '0,0'. |
14 PASS testConstructor12 | 14 FAIL new DOMMatrix(float32Array) 6 elements Failed to construct 'DOMMatrix': Fai
led to parse '0,0'. |
15 PASS testConstructor13 | 15 FAIL new DOMMatrix(float64Array) 16 elements Failed to construct 'DOMMatrix': Fa
iled to parse '2,0,0,0,0,2,0,0,0,0,1,0,10,10,0,1'. |
16 FAIL testConstructorIllegal0 assert_throws: function "function () { new DOMMatri
xReadOnly(); }" did not throw | 16 FAIL new DOMMatrix((float64Array) 6 elements Failed to construct 'DOMMatrix': Fa
iled to parse '0,0'. |
17 FAIL testConstructorIllegal1 assert_throws: function "function () { new DOMMatri
xReadOnly(string); }" threw object "SyntaxError: Failed to construct 'DOMMatrixR
eadOnly': Failed to parse 'scale(2, 2), translateX(5px) translateY(5px)'." ("Syn
taxError") expected object "TypeError" ("TypeError") | 17 PASS new DOMMatrix(sequence) 16 elements |
18 PASS testConstructorIllegal2 | 18 FAIL new DOMMatrix(sequence) 6 elements assert_equals: Expected value for is2D i
s false expected false but got true |
| 19 FAIL new DOMMatrix("scale(2) translateX(5px) translateY(5px)") assert_equals: Ex
pected value for is2D is false expected false but got true |
| 20 FAIL new DOMMatrix("scale(2 2) translateX(5) translateY(5)") Failed to construct
'DOMMatrix': Failed to parse 'scale(2 2) translateX(5) translateY(5)'. |
| 21 FAIL new DOMMatrix("scale(2, 2), translateX(5) ,translateY(5)") Failed to const
ruct 'DOMMatrix': Failed to parse 'scale(2, 2), translateX(5) ,translateY(5)'. |
| 22 PASS new DOMMatrix("translateX (5px)") |
| 23 FAIL new DOMMatrix("scale(2)translateX(5px)") assert_throws: function "function
() { new self[constr](string); }" did not throw |
| 24 PASS new DOMMatrix("translateX(5em)") |
| 25 PASS new DOMMatrix("translateX(5ex)") |
| 26 PASS new DOMMatrix("translateX(5ch)") |
| 27 PASS new DOMMatrix("translateX(5rem)") |
| 28 PASS new DOMMatrix("translateX(5vw)") |
| 29 PASS new DOMMatrix("translateX(5vh)") |
| 30 PASS new DOMMatrix("translateX(5vmin)") |
| 31 PASS new DOMMatrix("translateX(5vmax)") |
| 32 PASS new DOMMatrix("translateX(5%)") |
| 33 PASS new DOMMatrix(" ") |
| 34 PASS new DOMMatrix("/**/") |
| 35 PASS new DOMMatrix("\0") |
| 36 PASS new DOMMatrix(";") |
| 37 PASS new DOMMatrix("none;") |
| 38 PASS new DOMMatrix("null") |
| 39 PASS new DOMMatrix(null) |
| 40 PASS new DOMMatrix("undefined") |
| 41 PASS new DOMMatrix("inherit") |
| 42 PASS new DOMMatrix("initial") |
| 43 PASS new DOMMatrix("unset") |
| 44 PASS new DOMMatrix(sequence) |
| 45 PASS new DOMMatrix(matrix) |
| 46 PASS new DOMMatrix("scale(2, 2), translateX(5px) translateY(5px)") |
| 47 PASS new DOMMatrix(sequence) 17 elements |
| 48 PASS new DOMMatrix(sequence) 15 elements |
| 49 PASS new DOMMatrix(sequence) 5 elements |
| 50 PASS new DOMMatrix(sequence) 0 elements |
| 51 PASS new DOMMatrixReadOnly() |
| 52 FAIL new DOMMatrixReadOnly(undefined) Failed to construct 'DOMMatrixReadOnly': F
ailed to parse 'undefined'. |
| 53 PASS new DOMMatrixReadOnly(new DOMMatrixReadOnly()) |
| 54 PASS new DOMMatrixReadOnly("none") |
| 55 PASS new DOMMatrixReadOnly(" none") |
| 56 PASS new DOMMatrixReadOnly("none ") |
| 57 PASS new DOMMatrixReadOnly("NONE") |
| 58 PASS new DOMMatrixReadOnly("none/**/") |
| 59 PASS new DOMMatrixReadOnly("/**/none") |
| 60 PASS new DOMMatrixReadOnly("") |
| 61 FAIL new DOMMatrixReadOnly(float32Array) 16 elements Failed to construct 'DOMMat
rixReadOnly': Failed to parse '0,0'. |
| 62 FAIL new DOMMatrixReadOnly(float32Array) 6 elements Failed to construct 'DOMMatr
ixReadOnly': Failed to parse '0,0'. |
| 63 FAIL new DOMMatrixReadOnly(float64Array) 16 elements Failed to construct 'DOMMat
rixReadOnly': Failed to parse '2,0,0,0,0,2,0,0,0,0,1,0,10,10,0,1'. |
| 64 FAIL new DOMMatrixReadOnly((float64Array) 6 elements Failed to construct 'DOMMat
rixReadOnly': Failed to parse '0,0'. |
| 65 PASS new DOMMatrixReadOnly(sequence) 16 elements |
| 66 FAIL new DOMMatrixReadOnly(sequence) 6 elements assert_equals: Expected value fo
r is2D is false expected false but got true |
| 67 FAIL new DOMMatrixReadOnly("scale(2) translateX(5px) translateY(5px)") assert_eq
uals: Expected value for is2D is false expected false but got true |
| 68 FAIL new DOMMatrixReadOnly("scale(2 2) translateX(5) translateY(5)") Failed to c
onstruct 'DOMMatrixReadOnly': Failed to parse 'scale(2 2) translateX(5) translat
eY(5)'. |
| 69 FAIL new DOMMatrixReadOnly("scale(2, 2), translateX(5) ,translateY(5)") Failed
to construct 'DOMMatrixReadOnly': Failed to parse 'scale(2, 2), translateX(5) ,
translateY(5)'. |
| 70 PASS new DOMMatrixReadOnly("translateX (5px)") |
| 71 FAIL new DOMMatrixReadOnly("scale(2)translateX(5px)") assert_throws: function "f
unction () { new self[constr](string); }" did not throw |
| 72 PASS new DOMMatrixReadOnly("translateX(5em)") |
| 73 PASS new DOMMatrixReadOnly("translateX(5ex)") |
| 74 PASS new DOMMatrixReadOnly("translateX(5ch)") |
| 75 PASS new DOMMatrixReadOnly("translateX(5rem)") |
| 76 PASS new DOMMatrixReadOnly("translateX(5vw)") |
| 77 PASS new DOMMatrixReadOnly("translateX(5vh)") |
| 78 PASS new DOMMatrixReadOnly("translateX(5vmin)") |
| 79 PASS new DOMMatrixReadOnly("translateX(5vmax)") |
| 80 PASS new DOMMatrixReadOnly("translateX(5%)") |
| 81 PASS new DOMMatrixReadOnly(" ") |
| 82 PASS new DOMMatrixReadOnly("/**/") |
| 83 PASS new DOMMatrixReadOnly("\0") |
| 84 PASS new DOMMatrixReadOnly(";") |
| 85 PASS new DOMMatrixReadOnly("none;") |
| 86 PASS new DOMMatrixReadOnly("null") |
| 87 PASS new DOMMatrixReadOnly(null) |
| 88 PASS new DOMMatrixReadOnly("undefined") |
| 89 PASS new DOMMatrixReadOnly("inherit") |
| 90 PASS new DOMMatrixReadOnly("initial") |
| 91 PASS new DOMMatrixReadOnly("unset") |
| 92 PASS new DOMMatrixReadOnly(sequence) |
| 93 PASS new DOMMatrixReadOnly(matrix) |
| 94 PASS new DOMMatrixReadOnly("scale(2, 2), translateX(5px) translateY(5px)") |
| 95 PASS new DOMMatrixReadOnly(sequence) 17 elements |
| 96 PASS new DOMMatrixReadOnly(sequence) 15 elements |
| 97 PASS new DOMMatrixReadOnly(sequence) 5 elements |
| 98 PASS new DOMMatrixReadOnly(sequence) 0 elements |
19 Harness: the test ran to completion. | 99 Harness: the test ran to completion. |
20 | 100 |
OLD | NEW |