From 35545009cb7a429af6deebbeeb48785cadc5d19d Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Fri, 9 Nov 2018 16:56:09 +0000 Subject: [PATCH] Bug 1503627 [wpt PR 13815] - Fetch: Access-Control-Allow-Origin parsing, a=testonly Automatic update from web-platform-testsFetch: Access-Control-Allow-Origin parsing -- wpt-commits: d5550c29ab33ba311b836b250cb442db6d1577e0 wpt-pr: 13815 --- testing/web-platform/tests/cors/origin.htm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/testing/web-platform/tests/cors/origin.htm b/testing/web-platform/tests/cors/origin.htm index a04a29eb497f7..9169ec74f7060 100644 --- a/testing/web-platform/tests/cors/origin.htm +++ b/testing/web-platform/tests/cors/origin.htm @@ -71,8 +71,14 @@

Access-Control-Allow-Origin handling

shouldFail(location.protocol.toUpperCase() + "//" + location.host) shouldFail("-") shouldFail("**") +shouldFail(",*"); +shouldFail("*,"); shouldFail("\0*") +shouldFail("\u000B*"); +shouldFail("\u000C*"); shouldFail("*\0") +shouldFail("*\u000B"); +shouldFail("*\u000C"); shouldFail("'*'") shouldFail('"*"') shouldFail("* *")