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

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

Issue 537103002: Spec compliant url.search/url.hash setters over empty values. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Sync expected output Created 6 years, 3 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
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 PASS a.href is 's:www.mydomain.com/path/?%' 11 PASS a.href is 's:www.mydomain.com/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 PASS a.href is 'bad:/|/url?value=key' 15 PASS a.href is 'bad:/|/url?value=key'
16 Set search to null 16 Set search to null
17 PASS a.href is 'https://www.mydomain.com/path/?null' 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