From dca22952c1c7ef7619a5c74ae421f9177b973628 Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Fri, 16 Nov 2018 14:48:18 +0100 Subject: [PATCH] Take tainted origin flag into account for the same origin check This also addresses #737 in that now A -> B -> A would be considered cross-origin even for "no-cors", but leaving that open for further plumbing in HTML et al to override that in select cases (e.g., ). Fixes #756. --- fetch.bs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fetch.bs b/fetch.bs index eabf99559..889940c7c 100644 --- a/fetch.bs +++ b/fetch.bs @@ -2997,8 +2997,8 @@ with a CORS flag and recursive flag, run these steps:
request's current URL's origin is - same origin with request's origin and CORS flag is - unset + same origin with request's origin, request's + tainted origin flag is unset, and the CORS flag is unset
request's current URL's scheme is "data"
request's mode is