- From: Anne van Kesteren <notifications@github.com>
- Date: Mon, 18 Jun 2018 05:20:06 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 18 June 2018 12:20:30 UTC
annevk commented on this pull request. > +<p>To perform a <dfn>cross-origin resource policy check</dfn>, given a <var>request</var> and +<var>response</var>, run these steps:</p> + +<ol> + <li><p>If <var>request</var>'s <a for=request>mode</a> is not "<code>no-cors</code>", then return + <b>allowed</b>. + + <li> + <p>If <var>request</var>'s <a for=request>origin</a> is <a>same origin</a> with + <var>request</var>'s <a for=request>current url</a>'s <a for=url>origin</a>, then return + <b>allowed</b>. + + <p class="note no-backref">A cross-origin response redirecting to a response that is + <a>same origin</a> or <a>same site</a> with the initial request and has a + `<a http-header><code>Cross-Origin-Resource-Policy</code></a>` header specified, does not affect + anything. I.e., <var>request</var>'s <a for=request>tainted origin flag</a> is not checked. Rewrote, but didn't use "redirect chain" as that's not really defined. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/733#discussion_r196056208
Received on Monday, 18 June 2018 12:20:30 UTC