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

Side by Side Diff: LayoutTests/platform/win/fast/dom/HTMLAnchorElement/set-href-attribute-search-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 search attribute of the URL in HTMLAnchorElement . 1 Test setting the search 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 Set search without '?' 6 Set search without '?'
7 PASS a.href is 'https://www.mydomain.com/path/?value=key' 7 PASS a.href is 'https://www.mydomain.com/path/?value=key'
8 Set search that starts with '?' and contains spaces 8 Set search that starts with '?' and contains spaces
9 PASS a.href is 'https://www.mydomain.com/path/?val%20ue=%20key?' 9 PASS a.href is 'https://www.mydomain.com/path/?val%20ue=%20key?'
10 Set search to a malformed URL 10 Set search to a malformed URL
11 FAIL a.href should be s:www.mydomain.com/path/?%. Was file:///S:/www.mydomain.co m/path/?%. 11 FAIL a.href should be s:www.mydomain.com/path/?%. Was file:///S:/www.mydomain.co m/path/?%.
12 Set search containing '#' 12 Set search containing '#'
13 PASS a.href is 'https://www.mydomain.com/path/?value%23key#hash' 13 PASS a.href is 'https://www.mydomain.com/path/?value%23key#hash'
14 Set search to a malformed URL 14 Set search to a malformed URL
15 FAIL a.href should be bad:/|/url?value=key. Was bad:/|/url. 15 FAIL a.href should be bad:/|/url?value=key. Was bad:/|/url.
16 Set search to null 16 Set search to null
17 PASS a.href is 'https://www.mydomain.com/path/' 17 PASS a.href is 'https://www.mydomain.com/path/?null'
18 Set search to empty string 18 Set search to empty string
19 PASS a.href is 'https://www.mydomain.com/path/?' 19 PASS a.href is 'https://www.mydomain.com/path/?'
20 PASS successfullyParsed is true 20 PASS successfullyParsed is true
21 21
22 TEST COMPLETE 22 TEST COMPLETE
23 23
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698