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

Side by Side Diff: LayoutTests/platform/linux/fast/dom/HTMLAnchorElement/set-href-attribute-hostname-expected.txt

Issue 26248003: Do not special case null for URLUtils attributes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix linux specific exceptions again Created 7 years, 2 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 Test setting the hostname attribute of the URL in HTMLAnchorElement. 1 Test setting the hostname attribute of the URL in HTMLAnchorElement.
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 Basic test 6 Basic test
7 PASS a.href is 'https://www.otherdomain.com:8080/path/' 7 PASS a.href is 'https://www.otherdomain.com:8080/path/'
8 Extra slashes before hostname 8 Extra slashes before hostname
9 PASS a.href is 'https://www.otherdomain.com:8080/path/' 9 PASS a.href is 'https://www.otherdomain.com:8080/path/'
10 Set hostname to URL with foo: protocol 10 Set hostname to URL with foo: protocol
11 FAIL a.href should be foo://www.otherdomain.com/path/. Was foo://www.mydomain.co m/path/. 11 FAIL a.href should be foo://www.otherdomain.com/path/. Was foo://www.mydomain.co m/path/.
12 Set hostname to null 12 Set hostname to null
13 PASS a.href is 'https://www.mydomain.com:8080/path/' 13 PASS a.href is 'https://null:8080/path/'
14 Set hostname to empty string 14 Set hostname to empty string
15 PASS a.href is 'https://www.mydomain.com:8080/path/' 15 PASS a.href is 'https://www.mydomain.com:8080/path/'
16 Set hostname to URL with 2 colons 16 Set hostname to URL with 2 colons
17 PASS a.href is 'really:bad:url' 17 PASS a.href is 'really:bad:url'
18 Set a hostname that contains space in it 18 Set a hostname that contains space in it
19 FAIL a.href should be http://www.my domain.com/path/. Was http://www.other%20dom ain.com/path/. 19 FAIL a.href should be http://www.my domain.com/path/. Was http://www.other%20dom ain.com/path/.
20 Set hostname on a local file 20 Set hostname on a local file
21 PASS a.href is 'c:/path/testurl.html' 21 PASS a.href is 'c:/path/testurl.html'
22 Set hostname to undefined 22 Set hostname to undefined
23 PASS a.href is 'https://undefined:8080/path/' 23 PASS a.href is 'https://undefined:8080/path/'
24 PASS successfullyParsed is true 24 PASS successfullyParsed is true
25 25
26 TEST COMPLETE 26 TEST COMPLETE
27 27
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698