From 2fde83056187bc8188d8c062bb3859f0c352c9f0 Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Fri, 20 Jan 2017 16:28:25 +0100 Subject: [PATCH] Non-special URLs shouldn't eat slashes See https://github.com/whatwg/url/issues/212. --- url/urltestdata.json | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/url/urltestdata.json b/url/urltestdata.json index a431f9abd6dc03..ed9486bfdb4794 100644 --- a/url/urltestdata.json +++ b/url/urltestdata.json @@ -5000,5 +5000,47 @@ "pathname": "", "search": "", "hash": "" + }, + { + "input": "///", + "base": "sc://x/", + "href": "sc:///", + "protocol": "sc:", + "username": "", + "password": "", + "host": "", + "hostname": "", + "port": "", + "pathname": "/", + "search": "", + "hash": "" + }, + { + "input": "////", + "base": "sc://x/", + "href": "sc:////", + "protocol": "sc:", + "username": "", + "password": "", + "host": "", + "hostname": "", + "port": "", + "pathname": "/", + "search": "", + "hash": "" + }, + { + "input": "////x/", + "base": "sc://x/", + "href": "sc:////x/", + "protocol": "sc:", + "username": "", + "password": "", + "host": "", + "hostname": "", + "port": "", + "pathname": "//x/", + "search": "", + "hash": "" } ]