set-href-attribute-search-expected.txt revision eff69b907ef2cd3a9af0351287a929c66f58e3f6
1Test setting the search attribute of the URL in HTMLAnchorElement .
2
3On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6Set search without '?'
7PASS a.href is 'https://www.mydomain.com/path/?value=key'
8Set search that starts with '?' and contains spaces
9PASS a.href is 'https://www.mydomain.com/path/?val%20ue=%20key?'
10Set search to a malformed URL
11PASS a.href is 's:www.mydomain.com/path/?%'
12Set search containing '#'
13PASS a.href is 'https://www.mydomain.com/path/?value%23key#hash'
14Set search to a malformed URL
15PASS a.href is 'bad:/|/url?value=key'
16Set search to null
17PASS a.href is 'https://www.mydomain.com/path/'
18Set search to empty string
19PASS a.href is 'https://www.mydomain.com/path/?'
20PASS successfullyParsed is true
21
22TEST COMPLETE
23
24