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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 This test checks invalid colors on gradients. 1 This test checks invalid colors on gradients.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS gradient.addColorStop(0, '') threw exception Error: SyntaxError: DOM Except ion 12. 6 PASS gradient.addColorStop(0, '') threw exception SyntaxError: An invalid or ill egal string was specified..
7 PASS gradient.addColorStop(0, '#cc') threw exception Error: SyntaxError: DOM Exc eption 12. 7 PASS gradient.addColorStop(0, '#cc') threw exception SyntaxError: An invalid or illegal string was specified..
8 PASS gradient.addColorStop(0, 'rgb(257, 0)') threw exception Error: SyntaxError: DOM Exception 12. 8 PASS gradient.addColorStop(0, 'rgb(257, 0)') threw exception SyntaxError: An inv alid or illegal string was specified..
9 PASS gradient.addColorStop(0, 'rgb(257, 0, 5, 0)') threw exception Error: Syntax Error: DOM Exception 12. 9 PASS gradient.addColorStop(0, 'rgb(257, 0, 5, 0)') threw exception SyntaxError: An invalid or illegal string was specified..
10 PASS successfullyParsed is true 10 PASS successfullyParsed is true
11 11
12 TEST COMPLETE 12 TEST COMPLETE
13 13
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698