| OLD | NEW |
| 1 This ensure we do not mess up the bytes when an URL is partially parsed and is i
nvalid. | 1 This ensure we do not mess up the bytes when an URL is partially parsed and is i
nvalid. |
| 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 FAIL src should be http:///. Was http:/. | 6 FAIL src should be http:///. Was http:. |
| 7 FAIL src should be https:///. Was https:/. | 7 FAIL src should be https:///. Was https:. |
| 8 FAIL src should be ftp:///. Was ftp:. |
| 9 FAIL src should be gopher:///. Was gopher:. |
| 10 FAIL src should be ws:///. Was ws:. |
| 11 FAIL src should be wss:///. Was wss:. |
| 12 FAIL src should be foo://tête à tête@host/. Was foo://t%C3%AAte %C3%A0 t%C3%AAte
@host/. |
| 13 FAIL src should be foo://user:tête à tête@host/. Was foo://user:t%C3%AAte %C3%A0
t%C3%AAte@host/. |
| 8 PASS src is expected | 14 PASS src is expected |
| 9 PASS src is expected | 15 PASS src is expected |
| 10 PASS src is expected | 16 FAIL src should be foo://user:password@[xxxxx]/tête à tête/. Was foo://user:pass
word@[xxxxx]/t%C3%AAte %C3%A0 t%C3%AAte/. |
| 11 PASS src is expected | 17 FAIL src should be foo://user:password@[?tête à tête/. Was foo://user:password@[
?t%C3%AAte %C3%A0 t%C3%AAte/. |
| 12 PASS src is expected | 18 FAIL src should be foo://user:password@[?tête à tête]/. Was foo://user:password@
[?t%C3%AAte %C3%A0 t%C3%AAte]/. |
| 13 PASS src is expected | 19 FAIL src should be foo://user:password@host:tête à tête/. Was foo://user:passwor
d@host:t%C3%AAte %C3%A0 t%C3%AAte/. |
| 14 PASS src is expected | 20 FAIL src should be foo://user:password@host:80tête à tête. Was foo://user:passwo
rd@host:80t%C3%AAte %C3%A0 t%C3%AAte. |
| 15 PASS src is expected | 21 FAIL src should be foo://user:password@host:tête à tête/. Was foo://user:passwor
d@host:t%C3%AAte %C3%A0 t%C3%AAte/. |
| 16 PASS src is expected | 22 FAIL src should be foo://user:password@host:80tête à tête. Was foo://user:passwo
rd@host:80t%C3%AAte %C3%A0 t%C3%AAte. |
| 17 PASS src is expected | 23 FAIL src should be ws:/tête. Was ws://xn--tte-fma/. |
| 18 PASS src is expected | 24 FAIL src should be ftp:/tête. Was ftp://xn--tte-fma/. |
| 19 PASS src is expected | 25 FAIL src should be http:/tête. Was http://xn--tte-fma/. |
| 20 PASS src is expected | 26 FAIL src should be https:/tête. Was https://xn--tte-fma/. |
| 21 PASS src is expected | 27 FAIL src should be gopher:/tête. Was gopher://xn--tte-fma/. |
| 22 PASS src is expected | |
| 23 PASS src is expected | |
| 24 PASS src is expected | |
| 25 PASS src is expected | |
| 26 PASS src is expected | |
| 27 PASS src is expected | |
| 28 PASS successfullyParsed is true | 28 PASS successfullyParsed is true |
| 29 | 29 |
| 30 TEST COMPLETE | 30 TEST COMPLETE |
| 31 | 31 |
| OLD | NEW |