add single dot host test
diff --git a/url/resources/urltestdata.json b/url/resources/urltestdata.json
index 3cf1069..9ad49bd 100644
--- a/url/resources/urltestdata.json
+++ b/url/resources/urltestdata.json
@@ -3917,6 +3917,22 @@
"search": "",
"hash": ""
},
+ "Non-special domains with empty labels",
+ {
+ "input": "h://.",
+ "base": "about:blank",
+ "href": "h://.",
+ "origin": "h://.",
+ "protocol": "h:",
+ "username": "",
+ "password": "",
+ "host": ".",
+ "hostname": ".",
+ "port": "",
+ "pathname": "",
+ "search": "",
+ "hash": ""
+ },
"Broken IPv6",
{
"input": "http://[www.google.com]/",