From 25a05e110577431e9f71c2fe7b97637bd706f4c6 Mon Sep 17 00:00:00 2001 From: Daijiro Wachi Date: Wed, 8 Feb 2017 21:18:37 +0100 Subject: [PATCH] File URLs with repeated slsashes Related links + The URL Standard change: whatwg/url#234 + The original bug report: whatwg/url#232 --- url/urltestdata.json | 57 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/url/urltestdata.json b/url/urltestdata.json index 4c53c64dfd0f19..b268de5a404c4c 100644 --- a/url/urltestdata.json +++ b/url/urltestdata.json @@ -5411,5 +5411,62 @@ "input": "non-special://[:80/", "base": "about:blank", "failure": true + }, + "# file URLs with repeated slsashes by Daijirō Wachi", + { + "input": "file:////////", + "base": "about:blank", + "href": "file:///", + "protocol": "file:", + "username": "", + "password": "", + "host": "", + "hostname": "", + "port": "", + "pathname": "", + "search": "", + "hash": "" + }, + { + "input": "file:\\\\\\\\", + "base": "about:blank", + "href": "file:///", + "protocol": "file:", + "username": "", + "password": "", + "host": "", + "hostname": "", + "port": "", + "pathname": "", + "search": "", + "hash": "" + }, + { + "input": "file:////\\\\", + "base": "about:blank", + "href": "file:///", + "protocol": "file:", + "username": "", + "password": "", + "host": "", + "hostname": "", + "port": "", + "pathname": "", + "search": "", + "hash": "" + }, + { + "input": "file:////////foo/bar", + "base": "about:blank", + "href": "file:///foo/bar", + "protocol": "file:", + "username": "", + "password": "", + "host": "", + "hostname": "", + "port": "", + "pathname": "/foo/bar", + "search": "", + "hash": "" } ]