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

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

Issue 2873663002: Import WPT css/geometry-1 (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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/external/wpt/css/geometry-1/DOMMatrix-001-expected.txt
diff --git a/third_party/WebKit/LayoutTests/external/wpt/css/geometry-1/DOMMatrix-001-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/css/geometry-1/DOMMatrix-001-expected.txt
index 3646c6dd4db1f40f8c62de25c43d7e1fab7238d8..a97e4e58ef8135398ad76dc45ad555e5e10948cc 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/css/geometry-1/DOMMatrix-001-expected.txt
+++ b/third_party/WebKit/LayoutTests/external/wpt/css/geometry-1/DOMMatrix-001-expected.txt
@@ -1,20 +1,100 @@
This is a testharness.js-based test.
-PASS testConstructor0
-PASS testConstructor1
-FAIL testConstructor2 Failed to construct 'DOMMatrix': Failed to parse '0,0'.
-FAIL testConstructor3 Failed to construct 'DOMMatrix': Failed to parse '0,0'.
-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'.
-FAIL testConstructor5 Failed to construct 'DOMMatrix': Failed to parse '0,0'.
-PASS testConstructor6
-FAIL testConstructor7 float64Array is not defined
-FAIL testConstructor8 assert_equals: Expected value for is2D is false expected false but got true
-FAIL testConstructor9 Failed to construct 'DOMMatrix': Failed to parse 'scale(2 2) translateX(5) translateY(5)'.
-FAIL testConstructor10 Failed to construct 'DOMMatrix': Failed to parse 'scale(2, 2), translateX(5) ,translateY(5)'.
-FAIL testConstructor11 assert_throws: function "function () { new DOMMatrix('scale(2)translateX(5px)'); }" did not throw
-PASS testConstructor12
-PASS testConstructor13
-FAIL testConstructorIllegal0 assert_throws: function "function () { new DOMMatrixReadOnly(); }" did not throw
-FAIL testConstructorIllegal1 assert_throws: function "function () { new DOMMatrixReadOnly(string); }" threw object "SyntaxError: Failed to construct 'DOMMatrixReadOnly': Failed to parse 'scale(2, 2), translateX(5px) translateY(5px)'." ("SyntaxError") expected object "TypeError" ("TypeError")
-PASS testConstructorIllegal2
+Found 96 tests; 76 PASS, 20 FAIL, 0 TIMEOUT, 0 NOTRUN.
+PASS new DOMMatrix()
+FAIL new DOMMatrix(undefined) Failed to construct 'DOMMatrix': Failed to parse 'undefined'.
+PASS new DOMMatrix(new DOMMatrix())
+PASS new DOMMatrix("none")
+PASS new DOMMatrix(" none")
+PASS new DOMMatrix("none ")
+PASS new DOMMatrix("NONE")
+PASS new DOMMatrix("none/**/")
+PASS new DOMMatrix("/**/none")
+PASS new DOMMatrix("")
+FAIL new DOMMatrix(float32Array) 16 elements Failed to construct 'DOMMatrix': Failed to parse '0,0'.
+FAIL new DOMMatrix(float32Array) 6 elements Failed to construct 'DOMMatrix': Failed to parse '0,0'.
+FAIL new DOMMatrix(float64Array) 16 elements Failed to construct 'DOMMatrix': Failed to parse '2,0,0,0,0,2,0,0,0,0,1,0,10,10,0,1'.
+FAIL new DOMMatrix((float64Array) 6 elements Failed to construct 'DOMMatrix': Failed to parse '0,0'.
+PASS new DOMMatrix(sequence) 16 elements
+FAIL new DOMMatrix(sequence) 6 elements assert_equals: Expected value for is2D is false expected false but got true
+FAIL new DOMMatrix("scale(2) translateX(5px) translateY(5px)") assert_equals: Expected value for is2D is false expected false but got true
+FAIL new DOMMatrix("scale(2 2) translateX(5) translateY(5)") Failed to construct 'DOMMatrix': Failed to parse 'scale(2 2) translateX(5) translateY(5)'.
+FAIL new DOMMatrix("scale(2, 2), translateX(5) ,translateY(5)") Failed to construct 'DOMMatrix': Failed to parse 'scale(2, 2), translateX(5) ,translateY(5)'.
+PASS new DOMMatrix("translateX (5px)")
+FAIL new DOMMatrix("scale(2)translateX(5px)") assert_throws: function "function () { new self[constr](string); }" did not throw
+PASS new DOMMatrix("translateX(5em)")
+PASS new DOMMatrix("translateX(5ex)")
+PASS new DOMMatrix("translateX(5ch)")
+PASS new DOMMatrix("translateX(5rem)")
+PASS new DOMMatrix("translateX(5vw)")
+PASS new DOMMatrix("translateX(5vh)")
+PASS new DOMMatrix("translateX(5vmin)")
+PASS new DOMMatrix("translateX(5vmax)")
+PASS new DOMMatrix("translateX(5%)")
+PASS new DOMMatrix(" ")
+PASS new DOMMatrix("/**/")
+PASS new DOMMatrix("\0")
+PASS new DOMMatrix(";")
+PASS new DOMMatrix("none;")
+PASS new DOMMatrix("null")
+PASS new DOMMatrix(null)
+PASS new DOMMatrix("undefined")
+PASS new DOMMatrix("inherit")
+PASS new DOMMatrix("initial")
+PASS new DOMMatrix("unset")
+PASS new DOMMatrix(sequence)
+PASS new DOMMatrix(matrix)
+PASS new DOMMatrix("scale(2, 2), translateX(5px) translateY(5px)")
+PASS new DOMMatrix(sequence) 17 elements
+PASS new DOMMatrix(sequence) 15 elements
+PASS new DOMMatrix(sequence) 5 elements
+PASS new DOMMatrix(sequence) 0 elements
+PASS new DOMMatrixReadOnly()
+FAIL new DOMMatrixReadOnly(undefined) Failed to construct 'DOMMatrixReadOnly': Failed to parse 'undefined'.
+PASS new DOMMatrixReadOnly(new DOMMatrixReadOnly())
+PASS new DOMMatrixReadOnly("none")
+PASS new DOMMatrixReadOnly(" none")
+PASS new DOMMatrixReadOnly("none ")
+PASS new DOMMatrixReadOnly("NONE")
+PASS new DOMMatrixReadOnly("none/**/")
+PASS new DOMMatrixReadOnly("/**/none")
+PASS new DOMMatrixReadOnly("")
+FAIL new DOMMatrixReadOnly(float32Array) 16 elements Failed to construct 'DOMMatrixReadOnly': Failed to parse '0,0'.
+FAIL new DOMMatrixReadOnly(float32Array) 6 elements Failed to construct 'DOMMatrixReadOnly': Failed to parse '0,0'.
+FAIL new DOMMatrixReadOnly(float64Array) 16 elements Failed to construct 'DOMMatrixReadOnly': Failed to parse '2,0,0,0,0,2,0,0,0,0,1,0,10,10,0,1'.
+FAIL new DOMMatrixReadOnly((float64Array) 6 elements Failed to construct 'DOMMatrixReadOnly': Failed to parse '0,0'.
+PASS new DOMMatrixReadOnly(sequence) 16 elements
+FAIL new DOMMatrixReadOnly(sequence) 6 elements assert_equals: Expected value for is2D is false expected false but got true
+FAIL new DOMMatrixReadOnly("scale(2) translateX(5px) translateY(5px)") assert_equals: Expected value for is2D is false expected false but got true
+FAIL new DOMMatrixReadOnly("scale(2 2) translateX(5) translateY(5)") Failed to construct 'DOMMatrixReadOnly': Failed to parse 'scale(2 2) translateX(5) translateY(5)'.
+FAIL new DOMMatrixReadOnly("scale(2, 2), translateX(5) ,translateY(5)") Failed to construct 'DOMMatrixReadOnly': Failed to parse 'scale(2, 2), translateX(5) ,translateY(5)'.
+PASS new DOMMatrixReadOnly("translateX (5px)")
+FAIL new DOMMatrixReadOnly("scale(2)translateX(5px)") assert_throws: function "function () { new self[constr](string); }" did not throw
+PASS new DOMMatrixReadOnly("translateX(5em)")
+PASS new DOMMatrixReadOnly("translateX(5ex)")
+PASS new DOMMatrixReadOnly("translateX(5ch)")
+PASS new DOMMatrixReadOnly("translateX(5rem)")
+PASS new DOMMatrixReadOnly("translateX(5vw)")
+PASS new DOMMatrixReadOnly("translateX(5vh)")
+PASS new DOMMatrixReadOnly("translateX(5vmin)")
+PASS new DOMMatrixReadOnly("translateX(5vmax)")
+PASS new DOMMatrixReadOnly("translateX(5%)")
+PASS new DOMMatrixReadOnly(" ")
+PASS new DOMMatrixReadOnly("/**/")
+PASS new DOMMatrixReadOnly("\0")
+PASS new DOMMatrixReadOnly(";")
+PASS new DOMMatrixReadOnly("none;")
+PASS new DOMMatrixReadOnly("null")
+PASS new DOMMatrixReadOnly(null)
+PASS new DOMMatrixReadOnly("undefined")
+PASS new DOMMatrixReadOnly("inherit")
+PASS new DOMMatrixReadOnly("initial")
+PASS new DOMMatrixReadOnly("unset")
+PASS new DOMMatrixReadOnly(sequence)
+PASS new DOMMatrixReadOnly(matrix)
+PASS new DOMMatrixReadOnly("scale(2, 2), translateX(5px) translateY(5px)")
+PASS new DOMMatrixReadOnly(sequence) 17 elements
+PASS new DOMMatrixReadOnly(sequence) 15 elements
+PASS new DOMMatrixReadOnly(sequence) 5 elements
+PASS new DOMMatrixReadOnly(sequence) 0 elements
Harness: the test ran to completion.

Powered by Google App Engine
This is Rietveld 408576698