Skip to content

Commit

Permalink
Add expected origin to Node.js URL test data
Browse files Browse the repository at this point in the history
  • Loading branch information
joyeecheung committed Feb 1, 2017
1 parent 63b5590 commit f930654
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions url/urltestdata.json
Original file line number Diff line number Diff line change
Expand Up @@ -5058,6 +5058,7 @@
"input": "tftp://foobar.com/someconfig;mode=netascii",
"base": "about:blank",
"href": "tftp://foobar.com/someconfig;mode=netascii",
"origin": "tftp://foobar.com",
"protocol": "tftp:",
"username": "",
"password": "",
Expand All @@ -5072,6 +5073,7 @@
"input": "telnet://user:pass@foobar.com:23/",
"base": "about:blank",
"href": "telnet://user:pass@foobar.com:23/",
"origin": "telnet://foobar.com:23",
"protocol": "telnet:",
"username": "user",
"password": "pass",
Expand All @@ -5086,6 +5088,7 @@
"input": "ut2004://10.10.10.10:7777/Index.ut2",
"base": "about:blank",
"href": "ut2004://10.10.10.10:7777/Index.ut2",
"origin": "ut2004://10.10.10.10:7777",
"protocol": "ut2004:",
"username": "",
"password": "",
Expand All @@ -5100,6 +5103,7 @@
"input": "redis://foo:bar@somehost:6379/0?baz=bam&qux=baz",
"base": "about:blank",
"href": "redis://foo:bar@somehost:6379/0?baz=bam&qux=baz",
"origin": "redis://somehost:6379",
"protocol": "redis:",
"username": "foo",
"password": "bar",
Expand All @@ -5114,6 +5118,7 @@
"input": "rsync://foo@host:911/sup",
"base": "about:blank",
"href": "rsync://foo@host:911/sup",
"origin": "rsync://host:911",
"protocol": "rsync:",
"username": "foo",
"password": "",
Expand All @@ -5128,6 +5133,7 @@
"input": "git://github.com/foo/bar.git",
"base": "about:blank",
"href": "git://github.com/foo/bar.git",
"origin": "git://github.com",
"protocol": "git:",
"username": "",
"password": "",
Expand All @@ -5142,6 +5148,7 @@
"input": "irc://myserver.com:6999/channel?passwd",
"base": "about:blank",
"href": "irc://myserver.com:6999/channel?passwd",
"origin": "irc://myserver.com:6999",
"protocol": "irc:",
"username": "",
"password": "",
Expand All @@ -5156,6 +5163,7 @@
"input": "dns://fw.example.org:9999/foo.bar.org?type=TXT",
"base": "about:blank",
"href": "dns://fw.example.org:9999/foo.bar.org?type=TXT",
"origin": "dns://fw.example.org:9999",
"protocol": "dns:",
"username": "",
"password": "",
Expand All @@ -5170,6 +5178,7 @@
"input": "ldap://localhost:389/ou=People,o=JNDITutorial",
"base": "about:blank",
"href": "ldap://localhost:389/ou=People,o=JNDITutorial",
"origin": "ldap://localhost:389",
"protocol": "ldap:",
"username": "",
"password": "",
Expand All @@ -5184,6 +5193,7 @@
"input": "git+https://github.com/foo/bar",
"base": "about:blank",
"href": "git+https://github.com/foo/bar",
"origin": "git+https://github.com",
"protocol": "git+https:",
"username": "",
"password": "",
Expand All @@ -5198,6 +5208,7 @@
"input": "urn:ietf:rfc:2648",
"base": "about:blank",
"href": "urn:ietf:rfc:2648",
"origin": "urn://",
"protocol": "urn:",
"username": "",
"password": "",
Expand All @@ -5212,6 +5223,7 @@
"input": "tag:joe@example.org,2001:foo/bar",
"base": "about:blank",
"href": "tag:joe@example.org,2001:foo/bar",
"origin": "tag://",
"protocol": "tag:",
"username": "",
"password": "",
Expand Down

0 comments on commit f930654

Please sign in to comment.