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

Unified Diff: LayoutTests/transforms/cssmatrix-2d-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
Index: LayoutTests/transforms/cssmatrix-2d-interface-expected.txt
diff --git a/LayoutTests/transforms/cssmatrix-2d-interface-expected.txt b/LayoutTests/transforms/cssmatrix-2d-interface-expected.txt
index 07776e654f995cfd58df911e05933cd68644670e..fb5cb0112894f5e76c4e8f07d653d90af8bc9ece 100644
--- a/LayoutTests/transforms/cssmatrix-2d-interface-expected.txt
+++ b/LayoutTests/transforms/cssmatrix-2d-interface-expected.txt
@@ -23,7 +23,7 @@ PASS parseFloat(a3[0]) is 0
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.a is 1
@@ -58,9 +58,9 @@ PASS m.e is 10
PASS m.f is 20
Test throwing exception from setMatrixValue
-PASS m.setMatrixValue("banana") threw exception SyntaxError: An invalid or illegal string was specified..
-PASS m.setMatrixValue("translate(10em, 20%)") threw exception SyntaxError: An invalid or illegal string was specified..
-PASS m.setMatrixValue("translate(10px, 20px) scale()") 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("translate(10em, 20%)") threw exception SyntaxError: Failed to execute 'setMatrixValue' on 'WebKitCSSMatrix': The transformation depends on the box size, which is not supported..
+PASS m.setMatrixValue("translate(10px, 20px) scale()") threw exception SyntaxError: Failed to execute 'setMatrixValue' on 'WebKitCSSMatrix': Failed to parse 'translate(10px, 20px) scale()'..
Test attributes on translate() and accumulation
PASS m2.a is 1
@@ -208,7 +208,7 @@ PASS parseFloat(m.e) is 10
PASS parseFloat(m.f) is 20
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..
PASS successfullyParsed is true
« no previous file with comments | « LayoutTests/fast/dom/setPrimitiveValue-expected.txt ('k') | LayoutTests/transforms/cssmatrix-3d-interface-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698