Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(354)

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/css/geometry-1/DOMMatrix-001-expected.txt

Issue 2859293002: Use union instead of overload fo DOMMatrix/DOMMatrixReadOnly (Closed)
Patch Set: x Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 This is a testharness.js-based test. 1 This is a testharness.js-based test.
2 Found 96 tests; 76 PASS, 20 FAIL, 0 TIMEOUT, 0 NOTRUN. 2 Found 96 tests; 90 PASS, 6 FAIL, 0 TIMEOUT, 0 NOTRUN.
3 PASS new DOMMatrix() 3 PASS new DOMMatrix()
4 FAIL new DOMMatrix(undefined) Failed to construct 'DOMMatrix': Failed to parse ' undefined'. 4 PASS new DOMMatrix(undefined)
5 PASS new DOMMatrix(new DOMMatrix()) 5 PASS new DOMMatrix(new DOMMatrix())
6 PASS new DOMMatrix("none") 6 PASS new DOMMatrix("none")
7 PASS new DOMMatrix(" none") 7 PASS new DOMMatrix(" none")
8 PASS new DOMMatrix("none ") 8 PASS new DOMMatrix("none ")
9 PASS new DOMMatrix("NONE") 9 PASS new DOMMatrix("NONE")
10 PASS new DOMMatrix("none/**/") 10 PASS new DOMMatrix("none/**/")
11 PASS new DOMMatrix("/**/none") 11 PASS new DOMMatrix("/**/none")
12 PASS new DOMMatrix("") 12 PASS new DOMMatrix("")
13 FAIL new DOMMatrix(float32Array) 16 elements Failed to construct 'DOMMatrix': Fa iled to parse '0,0'. 13 PASS new DOMMatrix(float32Array) 16 elements
14 FAIL new DOMMatrix(float32Array) 6 elements Failed to construct 'DOMMatrix': Fai led to parse '0,0'. 14 PASS new DOMMatrix(float32Array) 6 elements
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'. 15 PASS new DOMMatrix(float64Array) 16 elements
16 FAIL new DOMMatrix((float64Array) 6 elements Failed to construct 'DOMMatrix': Fa iled to parse '0,0'. 16 PASS new DOMMatrix((float64Array) 6 elements
17 PASS new DOMMatrix(sequence) 16 elements 17 PASS new DOMMatrix(sequence) 16 elements
18 FAIL new DOMMatrix(sequence) 6 elements assert_equals: Expected value for is2D i s false expected false but got true 18 PASS new DOMMatrix(sequence) 6 elements
19 FAIL new DOMMatrix("scale(2) translateX(5px) translateY(5px)") assert_equals: Ex pected value for is2D is false expected false but got true 19 PASS new DOMMatrix("scale(2) translateX(5px) translateY(5px)")
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)'. 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)'. 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)") 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 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)") 24 PASS new DOMMatrix("translateX(5em)")
25 PASS new DOMMatrix("translateX(5ex)") 25 PASS new DOMMatrix("translateX(5ex)")
26 PASS new DOMMatrix("translateX(5ch)") 26 PASS new DOMMatrix("translateX(5ch)")
27 PASS new DOMMatrix("translateX(5rem)") 27 PASS new DOMMatrix("translateX(5rem)")
28 PASS new DOMMatrix("translateX(5vw)") 28 PASS new DOMMatrix("translateX(5vw)")
29 PASS new DOMMatrix("translateX(5vh)") 29 PASS new DOMMatrix("translateX(5vh)")
(...skipping 12 matching lines...) Expand all
42 PASS new DOMMatrix("initial") 42 PASS new DOMMatrix("initial")
43 PASS new DOMMatrix("unset") 43 PASS new DOMMatrix("unset")
44 PASS new DOMMatrix(sequence) 44 PASS new DOMMatrix(sequence)
45 PASS new DOMMatrix(matrix) 45 PASS new DOMMatrix(matrix)
46 PASS new DOMMatrix("scale(2, 2), translateX(5px) translateY(5px)") 46 PASS new DOMMatrix("scale(2, 2), translateX(5px) translateY(5px)")
47 PASS new DOMMatrix(sequence) 17 elements 47 PASS new DOMMatrix(sequence) 17 elements
48 PASS new DOMMatrix(sequence) 15 elements 48 PASS new DOMMatrix(sequence) 15 elements
49 PASS new DOMMatrix(sequence) 5 elements 49 PASS new DOMMatrix(sequence) 5 elements
50 PASS new DOMMatrix(sequence) 0 elements 50 PASS new DOMMatrix(sequence) 0 elements
51 PASS new DOMMatrixReadOnly() 51 PASS new DOMMatrixReadOnly()
52 FAIL new DOMMatrixReadOnly(undefined) Failed to construct 'DOMMatrixReadOnly': F ailed to parse 'undefined'. 52 PASS new DOMMatrixReadOnly(undefined)
53 PASS new DOMMatrixReadOnly(new DOMMatrixReadOnly()) 53 PASS new DOMMatrixReadOnly(new DOMMatrixReadOnly())
54 PASS new DOMMatrixReadOnly("none") 54 PASS new DOMMatrixReadOnly("none")
55 PASS new DOMMatrixReadOnly(" none") 55 PASS new DOMMatrixReadOnly(" none")
56 PASS new DOMMatrixReadOnly("none ") 56 PASS new DOMMatrixReadOnly("none ")
57 PASS new DOMMatrixReadOnly("NONE") 57 PASS new DOMMatrixReadOnly("NONE")
58 PASS new DOMMatrixReadOnly("none/**/") 58 PASS new DOMMatrixReadOnly("none/**/")
59 PASS new DOMMatrixReadOnly("/**/none") 59 PASS new DOMMatrixReadOnly("/**/none")
60 PASS new DOMMatrixReadOnly("") 60 PASS new DOMMatrixReadOnly("")
61 FAIL new DOMMatrixReadOnly(float32Array) 16 elements Failed to construct 'DOMMat rixReadOnly': Failed to parse '0,0'. 61 PASS new DOMMatrixReadOnly(float32Array) 16 elements
62 FAIL new DOMMatrixReadOnly(float32Array) 6 elements Failed to construct 'DOMMatr ixReadOnly': Failed to parse '0,0'. 62 PASS new DOMMatrixReadOnly(float32Array) 6 elements
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'. 63 PASS new DOMMatrixReadOnly(float64Array) 16 elements
64 FAIL new DOMMatrixReadOnly((float64Array) 6 elements Failed to construct 'DOMMat rixReadOnly': Failed to parse '0,0'. 64 PASS new DOMMatrixReadOnly((float64Array) 6 elements
65 PASS new DOMMatrixReadOnly(sequence) 16 elements 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 66 PASS new DOMMatrixReadOnly(sequence) 6 elements
67 FAIL new DOMMatrixReadOnly("scale(2) translateX(5px) translateY(5px)") assert_eq uals: Expected value for is2D is false expected false but got true 67 PASS new DOMMatrixReadOnly("scale(2) translateX(5px) translateY(5px)")
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)'. 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)'. 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)") 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 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)") 72 PASS new DOMMatrixReadOnly("translateX(5em)")
73 PASS new DOMMatrixReadOnly("translateX(5ex)") 73 PASS new DOMMatrixReadOnly("translateX(5ex)")
74 PASS new DOMMatrixReadOnly("translateX(5ch)") 74 PASS new DOMMatrixReadOnly("translateX(5ch)")
75 PASS new DOMMatrixReadOnly("translateX(5rem)") 75 PASS new DOMMatrixReadOnly("translateX(5rem)")
76 PASS new DOMMatrixReadOnly("translateX(5vw)") 76 PASS new DOMMatrixReadOnly("translateX(5vw)")
77 PASS new DOMMatrixReadOnly("translateX(5vh)") 77 PASS new DOMMatrixReadOnly("translateX(5vh)")
(...skipping 13 matching lines...) Expand all
91 PASS new DOMMatrixReadOnly("unset") 91 PASS new DOMMatrixReadOnly("unset")
92 PASS new DOMMatrixReadOnly(sequence) 92 PASS new DOMMatrixReadOnly(sequence)
93 PASS new DOMMatrixReadOnly(matrix) 93 PASS new DOMMatrixReadOnly(matrix)
94 PASS new DOMMatrixReadOnly("scale(2, 2), translateX(5px) translateY(5px)") 94 PASS new DOMMatrixReadOnly("scale(2, 2), translateX(5px) translateY(5px)")
95 PASS new DOMMatrixReadOnly(sequence) 17 elements 95 PASS new DOMMatrixReadOnly(sequence) 17 elements
96 PASS new DOMMatrixReadOnly(sequence) 15 elements 96 PASS new DOMMatrixReadOnly(sequence) 15 elements
97 PASS new DOMMatrixReadOnly(sequence) 5 elements 97 PASS new DOMMatrixReadOnly(sequence) 5 elements
98 PASS new DOMMatrixReadOnly(sequence) 0 elements 98 PASS new DOMMatrixReadOnly(sequence) 0 elements
99 Harness: the test ran to completion. 99 Harness: the test ran to completion.
100 100
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698