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

Side by Side Diff: LayoutTests/fast/js/string-fontcolor-expected.txt

Issue 14891003: The first in a series of mass rebaselines. I tried to avoid (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 This is a test case for String.prototype.fontcolor(color). 1 This is a test case for String.prototype.fontcolor(color).
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 '_'.fontcolor('b') is "<font color=\"b\">_</font>" 6 PASS '_'.fontcolor('b') is "<font color=\"b\">_</font>"
7 PASS '<'.fontcolor('b') is "<font color=\"b\"><</font>" 7 PASS '<'.fontcolor('b') is "<font color=\"b\"><</font>"
8 PASS '_'.fontcolor(0x2A) is "<font color=\"42\">_</font>" 8 PASS '_'.fontcolor(0x2A) is "<font color=\"42\">_</font>"
9 PASS '_'.fontcolor('"') is "<font color=\"&quot;\">_</font>" 9 PASS '_'.fontcolor('"') is "<font color=\"&quot;\">_</font>"
10 PASS '_'.fontcolor('" size="2px') is "<font color=\"&quot; size=&quot;2px\">_</f ont>" 10 PASS '_'.fontcolor('" size="2px') is "<font color=\"&quot; size=&quot;2px\">_</f ont>"
11 PASS String.prototype.fontcolor.call(0x2A, 0x2A) is "<font color=\"42\">42</font >" 11 PASS String.prototype.fontcolor.call(0x2A, 0x2A) is "<font color=\"42\">42</font >"
12 PASS String.prototype.fontcolor.call(undefined) threw exception TypeError: Type error. 12 FAIL String.prototype.fontcolor.call(undefined) should throw TypeError: Type err or. Was <font color="undefined">undefined</font>.
13 PASS String.prototype.fontcolor.call(null) threw exception TypeError: Type error . 13 FAIL String.prototype.fontcolor.call(null) should throw TypeError: Type error. W as <font color="undefined">null</font>.
14 PASS String.prototype.fontcolor.length is 1 14 PASS String.prototype.fontcolor.length is 1
15 PASS successfullyParsed is true 15 PASS successfullyParsed is true
16 16
17 TEST COMPLETE 17 TEST COMPLETE
18 18
OLDNEW
« no previous file with comments | « LayoutTests/fast/js/string-anchor-expected.txt ('k') | LayoutTests/fast/js/string-fontsize-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698