Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 Test setting the host attribute of the URL in HTMLAnchorElement. | 1 Test setting the host 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:0/path/' | 7 PASS a.href is 'https://www.otherdomain.com:0/path/' |
| 8 Set host with '?' in it | 8 Set host with '?' in it |
| 9 FAIL a.href should be https://www.other/?domain.com:8080/path/?key=value. Was ht tps://www.other%3Fdomain.com:8080/path/?key=value. | 9 FAIL a.href should be https://www.other/?domain.com:8080/path/?key=value. Was ht tps://www.other%3Fdomain.com:8080/path/?key=value. |
| 10 Set default port for another protocol | 10 Set default port for another protocol |
| 11 PASS a.href is 'https://www.otherdomain.com:80/path/' | 11 PASS a.href is 'https://www.otherdomain.com:80/path/' |
| 12 Set default port | 12 Set default port |
| 13 PASS a.href is 'https://www.otherdomain.com/path/' | 13 PASS a.href is 'https://www.otherdomain.com/path/' |
| 14 Set host with letters in port number | 14 Set host with letters in port number |
| 15 PASS a.href is 'https://www.otherdomain.com:44/path/' | 15 PASS a.href is 'https://www.otherdomain.com:44/path/' |
| 16 Leading space in port number | 16 Leading space in port number |
| 17 PASS a.href is 'https://www.otherdomain.com:0/path/' | 17 PASS a.href is 'https://www.otherdomain.com:0/path/' |
| 18 Colon without port number | 18 Colon without port number |
| 19 PASS a.href is 'https://www.otherdomain.com:0/path/' | 19 PASS a.href is 'https://www.otherdomain.com:0/path/' |
| 20 Set host to null | 20 Set host to null |
| 21 PASS a.href is 'https://www.mydomain.com:8080/path/' | 21 FAIL a.href should be https://null:8080/path/. Was https://null/path/. |
|
arv (Not doing code reviews)
2013/10/07 21:23:42
This is https://code.google.com/p/chromium/issues/
| |
| 22 Set host to empty string | 22 Set host to empty string |
| 23 PASS a.href is 'https://www.mydomain.com:8080/path/' | 23 PASS a.href is 'https://www.mydomain.com:8080/path/' |
| 24 Set host to URL with file: protocol | 24 Set host to URL with file: protocol |
| 25 PASS a.href is 'file://mydomain.com/path/' | 25 PASS a.href is 'file://mydomain.com/path/' |
| 26 Set host containing slashes in it | 26 Set host containing slashes in it |
| 27 FAIL a.href should be https://www.otherdom/ain.com/path/. Was https://www.otherd om%2Fain.com/path/. | 27 FAIL a.href should be https://www.otherdom/ain.com/path/. Was https://www.otherd om%2Fain.com/path/. |
| 28 Set host to a malformed URL | 28 Set host to a malformed URL |
| 29 FAIL a.href should be https:/ | 29 FAIL a.href should be https:/ |
| 30 ww.my@domain.com:8080/path/. Was https://ww.my@www.other%21domain.com:15/path/. | 30 ww.my@domain.com:8080/path/. Was https://ww.my@www.other%21domain.com:15/path/. |
| 31 Set host that starts with ':' | 31 Set host that starts with ':' |
| 32 PASS a.href is 'https://domain.com:8080/path/' | 32 PASS a.href is 'https://domain.com:8080/path/' |
| 33 Set host to URL containing username and .. | 33 Set host to URL containing username and .. |
| 34 FAIL a.href should be https://rwwmy@www.other!domain.com:25/pa..th/. Was https:/ /rwwmy@www.other%21domain.com:25/pa..th/. | 34 FAIL a.href should be https://rwwmy@www.other!domain.com:25/pa..th/. Was https:/ /rwwmy@www.other%21domain.com:25/pa..th/. |
| 35 Set host to a URL with tel: protocol | 35 Set host to a URL with tel: protocol |
| 36 PASS a.href is 'tel:+1-816-555-1212' | 36 PASS a.href is 'tel:+1-816-555-1212' |
| 37 PASS successfullyParsed is true | 37 PASS successfullyParsed is true |
| 38 | 38 |
| 39 TEST COMPLETE | 39 TEST COMPLETE |
| 40 | 40 |
| OLD | NEW |