Skip to content

Commit

Permalink
Remove existing NotAllowedError
Browse files Browse the repository at this point in the history
  • Loading branch information
noamr committed Mar 13, 2024
1 parent 66fe99d commit e5cec34
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions fetch.bs
Original file line number Diff line number Diff line change
Expand Up @@ -6706,7 +6706,7 @@ i.e. when a <a>fetch group</a> is <a for="fetch group">terminated</a>, or after
<li><p>Let <var>document</var> be <var>request</var>'s <a for=request>client</a>.

<li><p>If <var>request</var>'s <a for=request>URL</a>'s <a for=url>scheme</a> is not an
<a>HTTP(S) scheme</a> then throw a {{TypeError}}.
<a>HTTP(S) scheme</a>, then throw a {{TypeError}}.

<li><p>If <var>request</var>'s <a for=request>URL</a> is not a
[=potentially trustworthy url=], then throw a "{{SecurityError}}" {{DOMException}}.
Expand Down Expand Up @@ -8715,11 +8715,6 @@ true if <a>this</a>'s <a for=FetchLaterResult>deferred record</a>'s
method steps are:

<ol>
<li><p>If <var>requestObject</var>'s <a>relevant settings object</a>'s
<a for="environment settings object">origin</a> is not <a>same origin</a> with
<var>requestObject</var>'s <a>relevant settings object</a>'s
<a for="environment">top-level origin</a>, then throw a {{NotAllowedError}}.

<li><p>Let <var>requestObject</var> be the result of invoking the initial value of {{Request}} as
constructor with <var>input</var> and <var>init</var> as arguments.

Expand Down

0 comments on commit e5cec34

Please sign in to comment.