Re: [url-tests] Test how URL parser handles domains with empty labels (#5397)

*This report has been truncated because the total content is 653732 characters in length, which is in excess of GitHub.com's limit for comments (65536 characters).

 [View the complete job log.](https://travis-ci.org/w3c/web-platform-tests/jobs/219170113)

# Firefox (nightly channel) #
Testing web-platform-tests at revision d4a8aaab3a8710ef9d5c68f05d6862c50ce8fc81
Using browser at version BuildID 20170405115424; SourceStamp b043233ec04f06768d59dcdfb9e928142280f3cc
Starting 10 test iterations
All results were stable
## All results ##
<details>
<summary>7 tests ran</summary>
<details>
<summary><a href="http://w3c-test.org/submissions/5397/url/a-element-origin-xhtml.xhtml">/url/a-element-origin-xhtml.xhtml</a></summary>


|                                                    Subtest                                                     | Results |                                   Messages                                   |
|----------------------------------------------------------------------------------------------------------------|---------|------------------------------------------------------------------------------|
|                                                                                                                | OK      |                                                                              |
| `Loading data…`                                                                                                | PASS    |                                                                              |
| `Parsing origin: <http://example\t.\norg> against <http://example.org/foo/bar>`                                | PASS    |                                                                              |
| `Parsing origin: <http://user:pass@foo:21/bar;par?b#c> against <http://example.org/foo/bar>`                   | PASS    |                                                                              |
| `Parsing origin: <https://test:@test> against <about:blank>`                                                   | PASS    |                                                                              |
| `Parsing origin: <https://:@test> against <about:blank>`                                                       | FAIL    | `assert_equals: origin expected "https://test" but got ""`                   |
| `Parsing origin: <non-special://test:@test/x> against <about:blank>`                                           | PASS    |                                                                              |
| `Parsing origin: <non-special://:@test/x> against <about:blank>`                                               | PASS    |                                                                              |
| `Parsing origin: <http:foo.com> against <http://example.org/foo/bar>`                                          | PASS    |                                                                              |
| `Parsing origin: <\t   :foo.com   \n> against <http://example.org/foo/bar>`                                    | PASS    |                                                                              |
| `Parsing origin: < foo.com  > against <http://example.org/foo/bar>`                                            | PASS    |                                                                              |
| `Parsing origin: <a:\t foo.com> against <http://example.org/foo/bar>`                                          | PASS    |                                                                              |
| `Parsing origin: <http://f:21/ b ? d # e > against <http://example.org/foo/bar>`                               | PASS    |                                                                              |
| `Parsing origin: <http://f:/c> against <http://example.org/foo/bar>`                                           | PASS    |                                                                              |
| `Parsing origin: <http://f:0/c> against <http://example.org/foo/bar>`                                          | PASS    |                                                                              |
| `Parsing origin: <http://f:00000000000000/c> against <http://example.org/foo/bar>`                             | PASS    |                                                                              |
| `Parsing origin: <http://f:00000000000000000000080/c> against <http://example.org/foo/bar>`                    | PASS    |                                                                              |
| `Parsing origin: <http://f:\n/c> against <http://example.org/foo/bar>`                                         | PASS    |                                                                              |
| `Parsing origin: <> against <http://example.org/foo/bar>`                                                      | PASS    |                                                                              |
| `Parsing origin: <  \t> against <http://example.org/foo/bar>`                                                  | PASS    |                                                                              |
| `Parsing origin: <:foo.com/> against <http://example.org/foo/bar>`                                             | PASS    |                                                                              |
| `Parsing origin: <:foo.com\> against <http://example.org/foo/bar>`                                             | PASS    |                                                                              |
| `Parsing origin: <:> against <http://example.org/foo/bar>`                                                     | PASS    |                                                                              |
| `Parsing origin: <:a> against <http://example.org/foo/bar>`                                                    | PASS    |                                                                              |
| `Parsing origin: <:/> against <http://example.org/foo/bar>`                                                    | PASS    |                                                                              |
| `Parsing origin: <:\> against <http://example.org/foo/bar>`                                                    | PASS    |                                                                              |
| `Parsing origin: <:#> against <http://example.org/foo/bar>`                                                    | PASS    |                                                                              |
| `Parsing origin: <#> against <http://example.org/foo/bar>`                                                     | PASS    |                                                                              |
| `Parsing origin: <#/> against <http://example.org/foo/bar>`                                                    | PASS    |                                                                              |
| `Parsing origin: <#\> against <http://example.org/foo/bar>`                                                    | PASS    |                                                                              |
| `Parsing origin: <#;?> against <http://example.org/foo/bar>`                                                   | PASS    |                                                                              |
| `Parsing origin: <?> against <http://example.org/foo/bar>`                                                     | PASS    |                                                                              |
| `Parsing origin: </> against <http://example.org/foo/bar>`                                                     | PASS    |                                                                              |
| `Parsing origin: <:23> against <http://example.org/foo/bar>`                                                   | PASS    |                                                                              |
| `Parsing origin: </:23> against <http://example.org/foo/bar>`                                                  | PASS    |                                                                              |
| `Parsing origin: <::> against <http://example.org/foo/bar>`                                                    | PASS    |                                                                              |
| `Parsing origin: <::23> against <http://example.org/foo/bar>`                                                  | PASS    |                                                                              |
| `Parsing origin: <foo://> against <http://example.org/foo/bar>`                                                | PASS    |                                                                              |
| `Parsing origin: <http://a:b@c:29/d> against <http://example.org/foo/bar>`                                     | PASS    |                                                                              |
| `Parsing origin: <http::@c:29> against <http://example.org/foo/bar>`                                           | PASS    |                                                                              |
| `Parsing origin: <http://&a:foo(b]c@d:2/> against <http://example.org/foo/bar>`                                | PASS    |                                                                              |
| `Parsing origin: <http://::@c@d:2> against <http://example.org/foo/bar>`                                       | FAIL    | `assert_equals: origin expected "http://d:2" but got ""`                     |
| `Parsing origin: <http://foo.com:b@d/> against <http://example.org/foo/bar>`                                   | PASS    |                                                                              |
| `Parsing origin: <http://foo.com/\@> against <http://example.org/foo/bar>`                                     | PASS    |                                                                              |
| `Parsing origin: <http:\\foo.com\> against <http://example.org/foo/bar>`                                       | PASS    |                                                                              |
| `Parsing origin: <http:\\a\b:c\d@foo.com\> against <http://example.org/foo/bar>`                               | PASS    |                                                                              |
| `Parsing origin: <foo:/> against <http://example.org/foo/bar>`                                                 | PASS    |                                                                              |
| `Parsing origin: <foo:/bar.com/> against <http://example.org/foo/bar>`                                         | PASS    |                                                                              |
| `Parsing origin: <foo://///////> against <http://example.org/foo/bar>`                                         | PASS    |                                                                              |
| `Parsing origin: <foo://///////bar.com/> against <http://example.org/foo/bar>`                                 | PASS    |                                                                              |
| `Parsing origin: <foo:////://///> against <http://example.org/foo/bar>`                                        | PASS    |                                                                              |
| `Parsing origin: <c:/foo> against <http://example.org/foo/bar>`                                                | PASS    |                                                                              |
| `Parsing origin: <//foo/bar> against <http://example.org/foo/bar>`                                             | PASS    |                                                                              |
| `Parsing origin: <http://foo/path;a??e#f#g> against <http://example.org/foo/bar>`                              | PASS    |                                                                              |
| `Parsing origin: <http://foo/abcd?efgh?ijkl> against <http://example.org/foo/bar>`                             | PASS    |                                                                              |
| `Parsing origin: <http://foo/abcd#foo?bar> against <http://example.org/foo/bar>`                               | PASS    |                                                                              |
| `Parsing origin: <[61:24:74]:98> against <http://example.org/foo/bar>`                                         | PASS    |                                                                              |
| `Parsing origin: <http:[61:27]/:foo> against <http://example.org/foo/bar>`                                     | PASS    |                                                                              |
| `Parsing origin: <http://[2001::1]> against <http://example.org/foo/bar>`                                      | PASS    |                                                                              |
| `Parsing origin: <http://[::127.0.0.1]> against <http://example.org/foo/bar>`                                  | PASS    |                                                                              |
| `Parsing origin: <http://[0:0:0:0:0:0:13.1.68.3]> against <http://example.org/foo/bar>`                        | PASS    |                                                                              |
| `Parsing origin: <http://[2001::1]:80> against <http://example.org/foo/bar>`                                   | PASS    |                                                                              |
| `Parsing origin: <http:/example.com/> against <http://example.org/foo/bar>`                                    | PASS    |                                                                              |
| `Parsing origin: <ftp:/example.com/> against <http://example.org/foo/bar>`                                     | PASS    |                                                                              |
| `Parsing origin: <https:/example.com/> against <http://example.org/foo/bar>`                                   | PASS    |                                                                              |
| `Parsing origin: <madeupscheme:/example.com/> against <http://example.org/foo/bar>`                            | PASS    |                                                                              |
| `Parsing origin: <ftps:/example.com/> against <http://example.org/foo/bar>`                                    | PASS    |                                                                              |
| `Parsing origin: <gopher:/example.com/> against <http://example.org/foo/bar>`                                  | FAIL    | `assert_equals: origin expected "gopher://example.com" but got "null"`       |
| `Parsing origin: <ws:/example.com/> against <http://example.org/foo/bar>`                                      | PASS    |                                                                              |
| `Parsing origin: <wss:/example.com/> against <http://example.org/foo/bar>`                                     | PASS    |                                                                              |
| `Parsing origin: <data:/example.com/> against <http://example.org/foo/bar>`                                    | FAIL    | `assert_equals: origin expected "null" but got ""`                           |
| `Parsing origin: <javascript:/example.com/> against <http://example.org/foo/bar>`                              | PASS    |                                                                              |
| `Parsing origin: <mailto:/example.com/> against <http://example.org/foo/bar>`                                  | PASS    |                                                                              |
| `Parsing origin: <http:example.com/> against <http://example.org/foo/bar>`                                     | PASS    |                                                                              |
| `Parsing origin: <ftp:example.com/> against <http://example.org/foo/bar>`                                      | PASS    |                                                                              |
| `Parsing origin: <https:example.com/> against <http://example.org/foo/bar>`                                    | PASS    |                                                                              |
| `Parsing origin: <madeupscheme:example.com/> against <http://example.org/foo/bar>`                             | PASS    |                                                                              |
| `Parsing origin: <ftps:example.com/> against <http://example.org/foo/bar>`                                     | PASS    |                                                                              |
| `Parsing origin: <gopher:example.com/> against <http://example.org/foo/bar>`                                   | FAIL    | `assert_equals: origin expected "gopher://example.com" but got "null"`       |
| `Parsing origin: <ws:example.com/> against <http://example.org/foo/bar>`                                       | PASS    |                                                                              |
| `Parsing origin: <wss:example.com/> against <http://example.org/foo/bar>`                                      | PASS    |                                                                              |
| `Parsing origin: <data:example.com/> against <http://example.org/foo/bar>`                                     | FAIL    | `assert_equals: origin expected "null" but got ""`                           |
| `Parsing origin: <javascript:example.com/> against <http://example.org/foo/bar>`                               | PASS    |                                                                              |
| `Parsing origin: <mailto:example.com/> against <http://example.org/foo/bar>`                                   | PASS    |                                                                              |
| `Parsing origin: </a/b/c> against <http://example.org/foo/bar>`                                                | PASS    |                                                                              |
| `Parsing origin: </a/ /c> against <http://example.org/foo/bar>`                                                | PASS    |                                                                              |
| `Parsing origin: </a%2fc> against <http://example.org/foo/bar>`                                                | PASS    |                                                                              |
| `Parsing origin: </a/%2f/c> against <http://example.org/foo/bar>`                                              | PASS    |                                                                              |
| `Parsing origin: <#β> against <http://example.org/foo/bar>`                                                    | PASS    |                                                                              |
| `Parsing origin: <data:text/html,test#test> against <http://example.org/foo/bar>`                              | PASS    |                                                                              |
| `Parsing origin: <tel:1234567890> against <http://example.org/foo/bar>`                                        | PASS    |                                                                              |
| `Parsing origin: <http://example.com/././foo> against <about:blank>`                                           | PASS    |                                                                              |
| `Parsing origin: <http://example.com/./.foo> against <about:blank>`                                            | PASS    |                                                                              |
| `Parsing origin: <http://example.com/foo/.> against <about:blank>`                                             | PASS    |                                                                              |
| `Parsing origin: <http://example.com/foo/./> against <about:blank>`                                            | PASS    |                                                                              |
| `Parsing origin: <http://example.com/foo/bar/..> against <about:blank>`                                        | PASS    |                                                                              |
| `Parsing origin: <http://example.com/foo/bar/../> against <about:blank>`                                       | PASS    |                                                                              |
| `Parsing origin: <http://example.com/foo/..bar> against <about:blank>`                                         | PASS    |                                                                              |
| `Parsing origin: <http://example.com/foo/bar/../ton> against <about:blank>`                                    | PASS    |                                                                              |
| `Parsing origin: <http://example.com/foo/bar/../ton/../../a> against <about:blank>`                            | PASS    |                                                                              |
| `Parsing origin: <http://example.com/foo/../../..> against <about:blank>`                                      | PASS    |                                                                              |
| `Parsing origin: <http://example.com/foo/../../../ton> against <about:blank>`                                  | PASS    |                                                                              |
| `Parsing origin: <http://example.com/foo/%2e> against <about:blank>`                                           | PASS    |                                                                              |
| `Parsing origin: <http://example.com/foo/%2e%2> against <about:blank>`                                         | PASS    |                                                                              |
| `Parsing origin: <http://example.com/foo/%2e./%2e%2e/.%2e/%2e.bar> against <about:blank>`                      | PASS    |                                                                              |
| `Parsing origin: <http://example.com////../..> against <about:blank>`                                          | PASS    |                                                                              |
| `Parsing origin: <http://example.com/foo/bar//../..> against <about:blank>`                                    | PASS    |                                                                              |
| `Parsing origin: <http://example.com/foo/bar//..> against <about:blank>`                                       | PASS    |                                                                              |
| `Parsing origin: <http://example.com/foo> against <about:blank>`                                               | PASS    |                                                                              |
| `Parsing origin: <http://example.com/%20foo> against <about:blank>`                                            | PASS    |                                                                              |
| `Parsing origin: <http://example.com/foo%> against <about:blank>`                                              | PASS    |                                                                              |
| `Parsing origin: <http://example.com/foo%2> against <about:blank>`                                             | PASS    |                                                                              |
| `Parsing origin: <http://example.com/foo%2zbar> against <about:blank>`                                         | PASS    |                                                                              |
| `Parsing origin: <http://example.com/foo%2©zbar> against <about:blank>`                                       | PASS    |                                                                              |
| `Parsing origin: <http://example.com/foo%41%7a> against <about:blank>`                                         | PASS    |                                                                              |
| `Parsing origin: <http://example.com/foo\t‘%91> against <about:blank>`                                         | PASS    |                                                                              |
| `Parsing origin: <http://example.com/foo%00%51> against <about:blank>`                                         | PASS    |                                                                              |
| `Parsing origin: <http://example.com/(%28:%3A%29)> against <about:blank>`                                      | PASS    |                                                                              |
| `Parsing origin: <http://example.com/%3A%3a%3C%3c> against <about:blank>`                                      | PASS    |                                                                              |
| `Parsing origin: <http://example.com/foo\tbar> against <about:blank>`                                          | PASS    |                                                                              |
| `Parsing origin: <http://example.com\\foo\\bar> against <about:blank>`                                         | PASS    |                                                                              |
| `Parsing origin: <http://example.com/%7Ffp3%3Eju%3Dduvgw%3Dd> against <about:blank>`                           | PASS    |                                                                              |
| `Parsing origin: <http://example.com/@asdf%40> against <about:blank>`                                          | PASS    |                                                                              |
| `Parsing origin: <http://example.com/你好你> against <about:blank>`                                              | PASS    |                                                                              |
| `Parsing origin: <http://example.com/‥/foo> against <about:blank>`                                             | PASS    |                                                                              |
| `Parsing origin: <http://example.com//foo> against <about:blank>`                                             | PASS    |                                                                              |
| `Parsing origin: <http://example.com/‮/foo/‭/bar> against <about:blank>`                                       | PASS    |                                                                              |
| `Parsing origin: <http://www.google.com/foo?bar=baz#> against <about:blank>`                                   | PASS    |                                                                              |
| `Parsing origin: <http://www.google.com/foo?bar=baz# »> against <about:blank>`                                 | PASS    |                                                                              |
| `Parsing origin: <data:test# »> against <about:blank>`                                                         | FAIL    | `assert_equals: origin expected "null" but got ""`                           |
| `Parsing origin: <http://www.google.com> against <about:blank>`                                                | PASS    |                                                                              |
| `Parsing origin: <http://192.0x00A80001> against <about:blank>`                                                | PASS    |                                                                              |
| `Parsing origin: <http://www/foo%2Ehtml> against <about:blank>`                                                | PASS    |                                                                              |
| `Parsing origin: <http://www/foo/%2E/html> against <about:blank>`                                              | PASS    |                                                                              |
| `Parsing origin: <http://%25DOMAIN:foobar@foodomain.com/> against <about:blank>`                               | PASS    |                                                                              |
| `Parsing origin: <http:\\www.google.com\foo> against <about:blank>`                                            | PASS    |                                                                              |
| `Parsing origin: <http://foo:80/> against <about:blank>`                                                       | PASS    |                                                                              |
| `Parsing origin: <http://foo:81/> against <about:blank>`                                                       | PASS    |                                                                              |
| `Parsing origin: <httpa://foo:80/> against <about:blank>`                                                      | PASS    |                                                                              |
| `Parsing origin: <https://foo:443/> against <about:blank>`                                                     | PASS    |                                                                              |
| `Parsing origin: <https://foo:80/> against <about:blank>`                                                      | PASS    |                                                                              |
| `Parsing origin: <ftp://foo:21/> against <about:blank>`                                                        | PASS    |                                                                              |
| `Parsing origin: <ftp://foo:80/> against <about:blank>`                                                        | PASS    |                                                                              |
| `Parsing origin: <gopher://foo:70/> against <about:blank>`                                                     | FAIL    | `assert_equals: origin expected "gopher://foo" but got "null"`               |
| `Parsing origin: <gopher://foo:443/> against <about:blank>`                                                    | FAIL    | `assert_equals: origin expected "gopher://foo:443" but got "null"`           |
| `Parsing origin: <ws://foo:80/> against <about:blank>`                                                         | PASS    |                                                                              |
| `Parsing origin: <ws://foo:81/> against <about:blank>`                                                         | PASS    |                                                                              |
| `Parsing origin: <ws://foo:443/> against <about:blank>`                                                        | PASS    |                                                                              |
| `Parsing origin: <ws://foo:815/> against <about:blank>`                                                        | PASS    |                                                                              |
| `Parsing origin: <wss://foo:80/> against <about:blank>`                                                        | PASS    |                                                                              |
| `Parsing origin: <wss://foo:81/> against <about:blank>`                                                        | PASS    |                                                                              |
| `Parsing origin: <wss://foo:443/> against <about:blank>`                                                       | PASS    |                                                                              |
| `Parsing origin: <wss://foo:815/> against <about:blank>`                                                       | PASS    |                                                                              |
| `Parsing origin: <http:/example.com/> against <about:blank>`                                                   | PASS    |                                                                              |
| `Parsing origin: <ftp:/example.com/> against <about:blank>`                                                    | PASS    |                                                                              |
| `Parsing origin: <https:/example.com/> against <about:blank>`                                                  | PASS    |                                                                              |
| `Parsing origin: <madeupscheme:/example.com/> against <about:blank>`                                           | PASS    |                                                                              |
| `Parsing origin: <ftps:/example.com/> against <about:blank>`                                                   | PASS    |                                                                              |
| `Parsing origin: <gopher:/example.com/> against <about:blank>`                                                 | FAIL    | `assert_equals: origin expected "gopher://example.com" but got "null"`       |
| `Parsing origin: <ws:/example.com/> against <about:blank>`                                                     | PASS    |                                                                              |
| `Parsing origin: <wss:/example.com/> against <about:blank>`                                                    | PASS    |                                                                              |
| `Parsing origin: <data:/example.com/> against <about:blank>`                                                   | FAIL    | `assert_equals: origin expected "null" but got ""`                           |
| `Parsing origin: <javascript:/example.com/> against <about:blank>`                                             | PASS    |                                                                              |
| `Parsing origin: <mailto:/example.com/> against <about:blank>`                                                 | PASS    |                                                                              |
| `Parsing origin: <http:example.com/> against <about:blank>`                                                    | PASS    |                                                                              |
| `Parsing origin: <ftp:example.com/> against <about:blank>`                                                     | PASS    |                                                                              |
| `Parsing origin: <https:example.com/> against <about:blank>`                                                   | PASS    |                                                                              |
| `Parsing origin: <madeupscheme:example.com/> against <about:blank>`                                            | PASS    |                                                                              |
| `Parsing origin: <ftps:example.com/> against <about:blank>`                                                    | PASS    |                                                                              |
| `Parsing origin: <gopher:example.com/> against <about:blank>`                                                  | FAIL    | `assert_equals: origin expected "gopher://example.com" but got "null"`       |
| `Parsing origin: <ws:example.com/> against <about:blank>`                                                      | PASS    |                                                                              |
| `Parsing origin: <wss:example.com/> against <about:blank>`                                                     | PASS    |                                                                              |
| `Parsing origin: <data:example.com/> against <about:blank>`                                                    | FAIL    | `assert_equals: origin expected "null" but got ""`                           |
| `Parsing origin: <javascript:example.com/> against <about:blank>`                                              | PASS    |                                                                              |
| `Parsing origin: <mailto:example.com/> against <about:blank>`                                                  | PASS    |                                                                              |
| `Parsing origin: <http:@www.example.com> against <about:blank>`                                                | PASS    |                                                                              |
| `Parsing origin: <http:/@www.example.com> against <about:blank>`                                               | PASS    |                                                                              |
| `Parsing origin: <http://@www.example.com> against <about:blank>`                                              | PASS    |                                                                              |
| `Parsing origin: <http:a:b@www.example.com> against <about:blank>`                                             | PASS    |                                                                              |
| `Parsing origin: <http:/a:b@www.example.com> against <about:blank>`                                            | PASS    |                                                                              |
| `Parsing origin: <http://a:b@www.example.com> against <about:blank>`                                           | PASS    |                                                                              |
| `Parsing origin: <http://@pple.com> against <about:blank>`                                                     | PASS    |                                                                              |
| `Parsing origin: <http::b@www.example.com> against <about:blank>`                                              | FAIL    | `assert_equals: origin expected "http://www.example.com" but got ""`         |
| `Parsing origin: <http:/:b@www.example.com> against <about:blank>`                                             | FAIL    | `assert_equals: origin expected "http://www.example.com" but got ""`         |
| `Parsing origin: <http://:b@www.example.com> against <about:blank>`                                            | FAIL    | `assert_equals: origin expected "http://www.example.com" but got ""`         |
| `Parsing origin: <http:a:@www.example.com> against <about:blank>`                                              | PASS    |                                                                              |
| `Parsing origin: <http:/a:@www.example.com> against <about:blank>`                                             | PASS    |                                                                              |
| `Parsing origin: <http://a:@www.example.com> against <about:blank>`                                            | PASS    |                                                                              |
| `Parsing origin: <http://www.@pple.com> against <about:blank>`                                                 | PASS    |                                                                              |
| `Parsing origin: <http://:@www.example.com> against <about:blank>`                                             | FAIL    | `assert_equals: origin expected "http://www.example.com" but got ""`         |
| `Parsing origin: </> against <http://www.example.com/test>`                                                    | PASS    |                                                                              |
| `Parsing origin: </test.txt> against <http://www.example.com/test>`                                            | PASS    |                                                                              |
| `Parsing origin: <.> against <http://www.example.com/test>`                                                    | PASS    |                                                                              |
| `Parsing origin: <..> against <http://www.example.com/test>`                                                   | PASS    |                                                                              |
| `Parsing origin: <test.txt> against <http://www.example.com/test>`                                             | PASS    |                                                                              |
| `Parsing origin: <./test.txt> against <http://www.example.com/test>`                                           | PASS    |                                                                              |
| `Parsing origin: <../test.txt> against <http://www.example.com/test>`                                          | PASS    |                                                                              |
| `Parsing origin: <../aaa/test.txt> against <http://www.example.com/test>`                                      | PASS    |                                                                              |
| `Parsing origin: <../../test.txt> against <http://www.example.com/test>`                                       | PASS    |                                                                              |
| `Parsing origin: <中/test.txt> against <http://www.example.com/test>`                                           | PASS    |                                                                              |
| `Parsing origin: <http://www.example2.com> against <http://www.example.com/test>`                              | PASS    |                                                                              |
| `Parsing origin: <//www.example2.com> against <http://www.example.com/test>`                                   | PASS    |                                                                              |
| `Parsing origin: <http://ExAmPlE.CoM> against <http://other.com/>`                                             | PASS    |                                                                              |
| `Parsing origin: <http://GOO​⁠goo.com> against <http://other.com/>`                                           | PASS    |                                                                              |
| `Parsing origin: <http://www.foo。bar.com> against <http://other.com/>`                                         | PASS    |                                                                              |
| `Parsing origin: <https://x/�?�#> against <about:blank>`                                                      | PASS    |                                                                              |
| `Parsing origin: <http://Go.com> against <http://other.com/>`                                                  | PASS    |                                                                              |
| `Parsing origin: <http://你好你> against <http://other.com/>`                                                    | PASS    |                                                                              |
| `Parsing origin: <https://faß.ExAmPlE/> against <about:blank>`                                                 | PASS    |                                                                              |
| `Parsing origin: <http://%30%78%63%30%2e%30%32%35%30.01> against <http://other.com/>`                          | PASS    |                                                                              |
| `Parsing origin: <http://%30%78%63%30%2e%30%32%35%30.01%2e> against <http://other.com/>`                       | PASS    |                                                                              |
| `Parsing origin: <http://0Xc0.0250.01> against <http://other.com/>`                                            | PASS    |                                                                              |
| `Parsing origin: <http://./> against <about:blank>`                                                            | PASS    |                                                                              |
| `Parsing origin: <http://../> against <about:blank>`                                                           | PASS    |                                                                              |
| `Parsing origin: <http://0..0x300/> against <about:blank>`                                                     | PASS    |                                                                              |
| `Parsing origin: <http://foo:💩@example.com/bar> against <http://other.com/>`                                   | PASS    |                                                                              |
| `Parsing origin: <#> against <test:test>`                                                                      | PASS    |                                                                              |
| `Parsing origin: <#x> against <mailto:x@x.com>`                                                                | PASS    |                                                                              |
| `Parsing origin: <#x> against <data:,>`                                                                        | PASS    |                                                                              |
| `Parsing origin: <#x> against <about:blank>`                                                                   | PASS    |                                                                              |
| `Parsing origin: <#> against <test:test?test>`                                                                 | PASS    |                                                                              |
| `Parsing origin: <https://@test@test@example:800/> against <http://doesnotmatter/>`                            | PASS    |                                                                              |
| `Parsing origin: <https://@@@example> against <http://doesnotmatter/>`                                         | PASS    |                                                                              |
| `Parsing origin: <http://{}:{}@h/{}?{}> against <http://doesnotmatter/>`                                       | PASS    |                                                                              |
| `Parsing origin: </some/path> against <http://user@example.org/smth>`                                          | PASS    |                                                                              |
| `Parsing origin: <> against <http://user:pass@example.org:21/smth>`                                            | PASS    |                                                                              |
| `Parsing origin: </some/path> against <http://user:pass@example.org:21/smth>`                                  | PASS    |                                                                              |
| `Parsing origin: <i> against <sc:/pa/pa>`                                                                      | FAIL    | `assert_equals: origin expected "null" but got ""`                           |
| `Parsing origin: <i> against <sc://ho/pa>`                                                                     | FAIL    | `assert_equals: origin expected "null" but got ""`                           |
| `Parsing origin: <i> against <sc:///pa/pa>`                                                                    | FAIL    | `assert_equals: origin expected "null" but got ""`                           |
| `Parsing origin: <../i> against <sc:/pa/pa>`                                                                   | FAIL    | `assert_equals: origin expected "null" but got ""`                           |
| `Parsing origin: <../i> against <sc://ho/pa>`                                                                  | FAIL    | `assert_equals: origin expected "null" but got ""`                           |
| `Parsing origin: <../i> against <sc:///pa/pa>`                                                                 | FAIL    | `assert_equals: origin expected "null" but got ""`                           |
| `Parsing origin: </i> against <sc:/pa/pa>`                                                                     | FAIL    | `assert_equals: origin expected "null" but got ""`                           |
| `Parsing origin: </i> against <sc://ho/pa>`                                                                    | FAIL    | `assert_equals: origin expected "null" but got ""`                           |
| `Parsing origin: </i> against <sc:///pa/pa>`                                                                   | FAIL    | `assert_equals: origin expected "null" but got ""`                           |
| `Parsing origin: <?i> against <sc:/pa/pa>`                                                                     | FAIL    | `assert_equals: origin expected "null" but got ""`                           |
| `Parsing origin: <?i> against <sc://ho/pa>`                                                                    | FAIL    | `assert_equals: origin expected "null" but got ""`                           |
| `Parsing origin: <?i> against <sc:///pa/pa>`                                                                   | FAIL    | `assert_equals: origin expected "null" but got ""`                           |
| `Parsing origin: <#i> against <sc:sd>`                                                                         | PASS    |                                                                              |
| `Parsing origin: <#i> against <sc:sd/sd>`                                                                      | PASS    |                                                                              |
| `Parsing origin: <#i> against <sc:/pa/pa>`                                                                     | PASS    |                                                                              |
| `Parsing origin: <#i> against <sc://ho/pa>`                                                                    | PASS    |                                                                              |
| `Parsing origin: <#i> against <sc:///pa/pa>`                                                                   | PASS    |                                                                              |
| `Parsing origin: <about:/../> against <about:blank>`                                                           | PASS    |                                                                              |
| `Parsing origin: <data:/../> against <about:blank>`                                                            | FAIL    | `assert_equals: origin expected "null" but got ""`                           |
| `Parsing origin: <javascript:/../> against <about:blank>`                                                      | PASS    |                                                                              |
| `Parsing origin: <mailto:/../> against <about:blank>`                                                          | PASS    |                                                                              |
| `Parsing origin: <sc://ñ.test/> against <about:blank>`                                                         | PASS    |                                                                              |
| `Parsing origin: <sc://!"$&'()*+,-.;<=>^_{|}~/> against <about:blank>`                                        | PASS    |                                                                              |
| `Parsing origin: <x> against <sc://ñ>`                                                                         | FAIL    | `assert_equals: origin expected "null" but got ""`                           |
| `Parsing origin: <sc:\../> against <about:blank>`                                                              | PASS    |                                                                              |
| `Parsing origin: <sc::a@example.net> against <about:blank>`                                                    | PASS    |                                                                              |
| `Parsing origin: <wow:%NBD> against <about:blank>`                                                             | PASS    |                                                                              |
| `Parsing origin: <wow:%1G> against <about:blank>`                                                              | PASS    |                                                                              |
| `Parsing origin: <ftp://%e2%98%83> against <about:blank>`                                                      | FAIL    | `assert_equals: origin expected "ftp://☃" but got "ftp://xn--n3h"`           |
| `Parsing origin: <https://%e2%98%83> against <about:blank>`                                                    | FAIL    | `assert_equals: origin expected "https://☃" but got "https://xn--n3h"`       |
| `Parsing origin: <http://127.0.0.1:10100/relative_import.html> against <about:blank>`                          | PASS    |                                                                              |
| `Parsing origin: <http://facebook.com/?foo=%7B%22abc%22> against <about:blank>`                                | PASS    |                                                                              |
| `Parsing origin: <https://localhost:3000/jqueryui@1.2.3> against <about:blank>`                                | PASS    |                                                                              |
| `Parsing origin: <h\tt\nt\rp://h\to\ns\rt:9\t0\n0\r0/p\ta\nt\rh?q\tu\ne\rry#f\tr\na\rg> against <about:blank>` | PASS    |                                                                              |
| `Parsing origin: <?a=b&c=d> against <http://example.org/foo/bar>`                                              | PASS    |                                                                              |
| `Parsing origin: <??a=b&c=d> against <http://example.org/foo/bar>`                                             | PASS    |                                                                              |
| `Parsing origin: <http:> against <http://example.org/foo/bar>`                                                 | PASS    |                                                                              |
| `Parsing origin: <sc:> against <https://example.org/foo/bar>`                                                  | PASS    |                                                                              |
| `Parsing origin: <http://foo.bar/baz?qux#foobar> against <about:blank>`                                       | PASS    |                                                                              |
| `Parsing origin: <http://192.168.257> against <http://other.com/>`                                             | PASS    |                                                                              |
| `Parsing origin: <http://192.168.257.com> against <http://other.com/>`                                         | PASS    |                                                                              |
| `Parsing origin: <http://256> against <http://other.com/>`                                                     | PASS    |                                                                              |
| `Parsing origin: <http://256.com> against <http://other.com/>`                                                 | PASS    |                                                                              |
| `Parsing origin: <http://999999999> against <http://other.com/>`                                               | PASS    |                                                                              |
| `Parsing origin: <http://999999999.com> against <http://other.com/>`                                           | PASS    |                                                                              |
| `Parsing origin: <http://10000000000.com> against <http://other.com/>`                                         | PASS    |                                                                              |
| `Parsing origin: <http://4294967295> against <http://other.com/>`                                              | PASS    |                                                                              |
| `Parsing origin: <http://0xffffffff> against <http://other.com/>`                                              | PASS    |                                                                              |
| `Parsing origin: <http://256.256.256.256.256> against <http://other.com/>`                                     | PASS    |                                                                              |
| `Parsing origin: <https://0x.0x.0> against <about:blank>`                                                      | FAIL    | `assert_equals: origin expected "https://0.0.0.0" but got "https://0x.0x.0"` |
| `Parsing origin: <http://[1:0::]> against <http://example.net/>`                                               | PASS    |                                                                              |
| `Parsing origin: <sc://ñ> against <about:blank>`                                                               | PASS    |                                                                              |
| `Parsing origin: <sc://ñ?x> against <about:blank>`                                                             | PASS    |                                                                              |
| `Parsing origin: <sc://ñ#x> against <about:blank>`                                                             | PASS    |                                                                              |
| `Parsing origin: <#x> against <sc://ñ>`                                                                        | PASS    |                                                                              |
| `Parsing origin: <?x> against <sc://ñ>`                                                                        | FAIL    | `assert_equals: origin expected "null" but got ""`                           |
| `Parsing origin: <tftp://foobar.com/someconfig;mode=netascii> against <about:blank>`                           | PASS    |                                                                              |
| `Parsing origin: <telnet://user:pass@foobar.com:23/> against <about:blank>`                                    | PASS    |                                                                              |
| `Parsing origin: <ut2004://10.10.10.10:7777/Index.ut2> against <about:blank>`                                  | PASS    |                                                                              |
| `Parsing origin: <redis://foo:bar@somehost:6379/0?baz=bam&qux=baz> against <about:blank>`                      | PASS    |                                                                              |
| `Parsing origin: <rsync://foo@host:911/sup> against <about:blank>`                                             | PASS    |                                                                              |
| `Parsing origin: <git://github.com/foo/bar.git> against <about:blank>`                                         | PASS    |                                                                              |
| `Parsing origin: <irc://myserver.com:6999/channel?passwd> against <about:blank>`                               | PASS    |                                                                              |
| `Parsing origin: <dns://fw.example.org:9999/foo.bar.org?type=TXT> against <about:blank>`                       | PASS    |                                                                              |
| `Parsing origin: <ldap://localhost:389/ou=People,o=JNDITutorial> against <about:blank>`                        | PASS    |                                                                              |
| `Parsing origin: <git+https://github.com/foo/bar> against <about:blank>`                                       | PASS    |                                                                              |
| `Parsing origin: <urn:ietf:rfc:2648> against <about:blank>`                                                    | PASS    |                                                                              |
| `Parsing origin: <tag:joe@example.org,2001:foo/bar> against <about:blank>`                                     | PASS    |                                                                              |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5397/url/a-element-origin.html">/url/a-element-origin.html</a></summary>


|                                                    Subtest                                                     | Results |                                   Messages                                   |
|----------------------------------------------------------------------------------------------------------------|---------|------------------------------------------------------------------------------|
|                                                                                                                | OK      |                                                                              |
| `Loading data…`                                                                                                | PASS    |                                                                              |
| `Parsing origin: <http://example\t.\norg> against <http://example.org/foo/bar>`                                | PASS    |                                                                              |
| `Parsing origin: <http://user:pass@foo:21/bar;par?b#c> against <http://example.org/foo/bar>`                   | PASS    |                                                                              |
| `Parsing origin: <https://test:@test> against <about:blank>`                                                   | PASS    |                                                                              |
| `Parsing origin: <https://:@test> against <about:blank>`                                                       | FAIL    | `assert_equals: origin expected "https://test" but got ""`                   |
| `Parsing origin: <non-special://test:@test/x> against <about:blank>`                                           | PASS    |                                                                              |
| `Parsing origin: <non-special://:@test/x> against <about:blank>`                                               | PASS    |                                                                              |
| `Parsing origin: <http:foo.com> against <http://example.org/foo/bar>`                                          | PASS    |                                                                              |
| `Parsing origin: <\t   :foo.com   \n> against <http://example.org/foo/bar>`                                    | PASS    |                                                                              |
| `Parsing origin: < foo.com  > against <http://example.org/foo/bar>`                                            | PASS    |                                                                              |
| `Parsing origin: <a:\t foo.com> against <http://example.org/foo/bar>`                                          | PASS    |                                                                              |
| `Parsing origin: <http://f:21/ b ? d # e > against <http://example.org/foo/bar>`                               | PASS    |                                                                              |
| `Parsing origin: <http://f:/c> against <http://example.org/foo/bar>`                                           | PASS    |                                                                              |
| `Parsing origin: <http://f:0/c> against <http://example.org/foo/bar>`                                          | PASS    |                                                                              |
| `Parsing origin: <http://f:00000000000000/c> against <http://example.org/foo/bar>`                             | PASS    |                                                                              |
| `Parsing origin: <http://f:00000000000000000000080/c> against <http://example.org/foo/bar>`                    | PASS    |                                                                              |
| `Parsing origin: <http://f:\n/c> against <http://example.org/foo/bar>`                                         | PASS    |                                                                        

View on GitHub: https://github.com/w3c/web-platform-tests/pull/5397#issuecomment-292088308

Received on Thursday, 6 April 2017 07:09:56 UTC