Skip to content

Commit

Permalink
Update fetch.bs
Browse files Browse the repository at this point in the history
Co-authored-by: Anne van Kesteren <[email protected]>
  • Loading branch information
fmarier and annevk authored Nov 10, 2021
1 parent fefa1dc commit f4dd516
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fetch.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2824,9 +2824,9 @@ given a <a for=/>request</a> <var>request</var>, run these steps:
with <var>request</var>.

<li><p>If <var>request</var>'s <a for=request>current URL</a>'s <a for=url>origin</a>'s
<a for=origin>host</a> ends with <code>.onion</code> or <code>.onion.</code> [[ONION]], and
<a for=origin>host</a> ends with "<code>.onion</code>" or "<code>.onion.</code>", and
is not <a>same origin</a> with <var>request</var>'s <a for=request>origin</a>, then set
<var>serializedOrigin</var> to `<code>null</code>`.
<var>serializedOrigin</var> to `<code>null</code>`. [[ONION]]

<li><p>If <var>request</var>'s <a for=request>response tainting</a> is "<code>cors</code>" or
<var>request</var>'s <a for=request>mode</a> is "<code>websocket</code>", then
Expand Down

0 comments on commit f4dd516

Please sign in to comment.