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

Unified Diff: LayoutTests/fast/canvas/gradient-addColorStop-with-invalid-color-expected.txt

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 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/fast/canvas/gradient-addColorStop-with-invalid-color-expected.txt
diff --git a/LayoutTests/fast/canvas/gradient-addColorStop-with-invalid-color-expected.txt b/LayoutTests/fast/canvas/gradient-addColorStop-with-invalid-color-expected.txt
index e4cc48489c4234ff08e2934cbc570668744ecec6..0fd161be7d02b0d5a5691e57d17a6a9195ab35b1 100644
--- a/LayoutTests/fast/canvas/gradient-addColorStop-with-invalid-color-expected.txt
+++ b/LayoutTests/fast/canvas/gradient-addColorStop-with-invalid-color-expected.txt
@@ -3,10 +3,10 @@ This test checks invalid colors on gradients.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS gradient.addColorStop(0, '') threw exception Error: SyntaxError: DOM Exception 12.
-PASS gradient.addColorStop(0, '#cc') threw exception Error: SyntaxError: DOM Exception 12.
-PASS gradient.addColorStop(0, 'rgb(257, 0)') threw exception Error: SyntaxError: DOM Exception 12.
-PASS gradient.addColorStop(0, 'rgb(257, 0, 5, 0)') threw exception Error: SyntaxError: DOM Exception 12.
+PASS gradient.addColorStop(0, '') threw exception SyntaxError: An invalid or illegal string was specified..
+PASS gradient.addColorStop(0, '#cc') threw exception SyntaxError: An invalid or illegal string was specified..
+PASS gradient.addColorStop(0, 'rgb(257, 0)') threw exception SyntaxError: An invalid or illegal string was specified..
+PASS gradient.addColorStop(0, 'rgb(257, 0, 5, 0)') threw exception SyntaxError: An invalid or illegal string was specified..
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698