From 562990a122215c5a14b7641ac4eb81c71e369aea Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Tue, 16 May 2017 16:25:31 +0200 Subject: [PATCH] URL: expect ASCII for origins For https://github.com/whatwg/url/issues/297. --- url/urltestdata.json | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/url/urltestdata.json b/url/urltestdata.json index a910eaddaa63a0a..3682913637c3229 100644 --- a/url/urltestdata.json +++ b/url/urltestdata.json @@ -3672,7 +3672,7 @@ "input": "http://你好你好", "base": "http://other.com/", "href": "http://xn--6qqa088eba/", - "origin": "http://你好你好", + "origin": "http://xn--6qqa088eba", "protocol": "http:", "username": "", "password": "", @@ -3687,7 +3687,7 @@ "input": "https://faß.ExAmPlE/", "base": "about:blank", "href": "https://xn--fa-hia.example/", - "origin": "https://faß.example", + "origin": "https://xn--fa-hia.example", "protocol": "https:", "username": "", "password": "", @@ -3702,6 +3702,7 @@ "input": "sc://faß.ExAmPlE/", "base": "about:blank", "href": "sc://fa%C3%9F.ExAmPlE/", + "origin": "null", "protocol": "sc:", "username": "", "password": "", @@ -4610,7 +4611,7 @@ "input": "ftp://%e2%98%83", "base": "about:blank", "href": "ftp://xn--n3h/", - "origin": "ftp://☃", + "origin": "ftp://xn--n3h", "protocol": "ftp:", "username": "", "password": "", @@ -4625,7 +4626,7 @@ "input": "https://%e2%98%83", "base": "about:blank", "href": "https://xn--n3h/", - "origin": "https://☃", + "origin": "https://xn--n3h", "protocol": "https:", "username": "", "password": "",