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