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

Unified Diff: LayoutTests/transforms/cssmatrix-3d-interface-expected.txt

Issue 128043003: Improve core/css exception messages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Test. Created 6 years, 11 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
« no previous file with comments | « LayoutTests/transforms/cssmatrix-2d-interface-expected.txt ('k') | Source/core/css/CSSMatrix.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/transforms/cssmatrix-3d-interface-expected.txt
diff --git a/LayoutTests/transforms/cssmatrix-3d-interface-expected.txt b/LayoutTests/transforms/cssmatrix-3d-interface-expected.txt
index 4f05d2004f8047f10d6554a6ff909c2d929d3ce6..247a66df4e43abd00b7bc17362a8135bef77f310 100644
--- a/LayoutTests/transforms/cssmatrix-3d-interface-expected.txt
+++ b/LayoutTests/transforms/cssmatrix-3d-interface-expected.txt
@@ -29,7 +29,7 @@ PASS parseFloat(a3[0]) is 1
PASS a3[1] is ""
Test bad input to string constructor
-PASS new WebKitCSSMatrix("banana") threw exception SyntaxError: An invalid or illegal string was specified..
+PASS new WebKitCSSMatrix("banana") threw exception SyntaxError: Failed to construct 'WebKitCSSMatrix': Failed to parse 'banana'..
Test attributes on default matrix
PASS m.m11 is 1
@@ -104,9 +104,9 @@ PASS m.m43 is 30
PASS m.m44 is 1
Test throwing exception from setMatrixValue
-PASS m.setMatrixValue("banana") threw exception SyntaxError: An invalid or illegal string was specified..
-PASS m.setMatrixValue("translate3d(10em, 20%, 40)") threw exception SyntaxError: An invalid or illegal string was specified..
-PASS m.setMatrixValue("translate3d(10px, 20px, 30px) scale3d()") threw exception SyntaxError: An invalid or illegal string was specified..
+PASS m.setMatrixValue("banana") threw exception SyntaxError: Failed to execute 'setMatrixValue' on 'WebKitCSSMatrix': Failed to parse 'banana'..
+PASS m.setMatrixValue("translate3d(10em, 20%, 40)") threw exception SyntaxError: Failed to execute 'setMatrixValue' on 'WebKitCSSMatrix': Failed to parse 'translate3d(10em, 20%, 40)'..
+PASS m.setMatrixValue("translate3d(10px, 20px, 30px) scale3d()") threw exception SyntaxError: Failed to execute 'setMatrixValue' on 'WebKitCSSMatrix': Failed to parse 'translate3d(10px, 20px, 30px) scale3d()'..
Test multiply
PASS parseFloat(m3.m11) is 538
@@ -217,7 +217,7 @@ PASS parseFloat(m.m43) is 30
PASS parseFloat(m.m44) is 1
Test throwing exception from inverse
-PASS m.inverse() threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS m.inverse() threw exception NotSupportedError: Failed to execute 'inverse' on 'WebKitCSSMatrix': The matrix is not invertable..
Test translate
PASS m2.m11 is 1
« no previous file with comments | « LayoutTests/transforms/cssmatrix-2d-interface-expected.txt ('k') | Source/core/css/CSSMatrix.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698