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

Side by Side Diff: LayoutTests/fast/js/string-link-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.link(href). 1 This is a test case for String.prototype.link(href).
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 '_'.link('"') is "<a href=\"&quot;\">_</a>" 6 PASS '_'.link('"') is "<a href=\"&quot;\">_</a>"
7 PASS '_'.link('b') is "<a href=\"b\">_</a>" 7 PASS '_'.link('b') is "<a href=\"b\">_</a>"
8 PASS '<'.link('b') is "<a href=\"b\"><</a>" 8 PASS '<'.link('b') is "<a href=\"b\"><</a>"
9 PASS '_'.link(0x2A) is "<a href=\"42\">_</a>" 9 PASS '_'.link(0x2A) is "<a href=\"42\">_</a>"
10 PASS '_'.link('"') is "<a href=\"&quot;\">_</a>" 10 PASS '_'.link('"') is "<a href=\"&quot;\">_</a>"
11 PASS '_'.link('" target="_blank') is "<a href=\"&quot; target=&quot;_blank\">_</ a>" 11 PASS '_'.link('" target="_blank') is "<a href=\"&quot; target=&quot;_blank\">_</ a>"
12 PASS String.prototype.link.call(0x2A, 0x2A) is "<a href=\"42\">42</a>" 12 PASS String.prototype.link.call(0x2A, 0x2A) is "<a href=\"42\">42</a>"
13 PASS String.prototype.link.call(undefined) threw exception TypeError: Type error . 13 FAIL String.prototype.link.call(undefined) should throw TypeError: Type error. W as <a href="undefined">undefined</a>.
14 PASS String.prototype.link.call(null) threw exception TypeError: Type error. 14 FAIL String.prototype.link.call(null) should throw TypeError: Type error. Was <a href="undefined">null</a>.
15 PASS String.prototype.link.length is 1 15 PASS String.prototype.link.length is 1
16 PASS successfullyParsed is true 16 PASS successfullyParsed is true
17 17
18 TEST COMPLETE 18 TEST COMPLETE
19 19
OLDNEW
« no previous file with comments | « LayoutTests/fast/js/string-fontsize-expected.txt ('k') | LayoutTests/fast/js/var-declarations-shadowing-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698