From 5acc42721ce5811462acc297bff75d33f999cd8f Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Tue, 19 Oct 2021 21:45:51 +0200 Subject: [PATCH] URL: test origin of blob: URLs For https://github.com/whatwg/url/pull/655. --- url/resources/urltestdata.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/url/resources/urltestdata.json b/url/resources/urltestdata.json index c7b6637cb58381..e5e5e76336f678 100644 --- a/url/resources/urltestdata.json +++ b/url/resources/urltestdata.json @@ -7303,6 +7303,7 @@ "input": "blob:https://example.com:443/", "base": "about:blank", "href": "blob:https://example.com:443/", + "origin": "https://example.com", "protocol": "blob:", "username": "", "password": "", @@ -7317,6 +7318,7 @@ "input": "blob:d3958f5c-0777-0845-9dcf-2cb28783acaf", "base": "about:blank", "href": "blob:d3958f5c-0777-0845-9dcf-2cb28783acaf", + "origin": "null", "protocol": "blob:", "username": "", "password": "", @@ -7327,6 +7329,21 @@ "search": "", "hash": "" }, + { + "input": "blob:", + "base": "about:blank", + "href": "blob:", + "origin": "null", + "protocol": "blob:", + "username": "", + "password": "", + "host": "", + "hostname": "", + "port": "", + "pathname": "", + "search": "", + "hash": "" + }, "Invalid IPv4 radix digits", { "input": "http://0x7f.0.0.0x7g",