| OLD | NEW |
| (Empty) |
| 1 This is a testharness.js-based test. | |
| 2 PASS Basic test | |
| 3 PASS Set host with ? in it | |
| 4 PASS Set default port for another protocol | |
| 5 PASS Set default port | |
| 6 PASS Set host with letters in port number | |
| 7 PASS Leading space in port number | |
| 8 PASS Colon without port number | |
| 9 PASS Set host to null | |
| 10 PASS Set host to empty string | |
| 11 PASS Set host to URL with file: protocol | |
| 12 PASS Set host containing slashes in it | |
| 13 PASS Set host to a malformed URL | |
| 14 PASS Set host that starts with : | |
| 15 PASS Set host to URL containing username and .. | |
| 16 PASS Set host to a URL with tel: protocol | |
| 17 PASS host property invalid URL | |
| 18 Harness: the test ran to completion. | |
| 19 | |
| OLD | NEW |