Skip to content

Commit

Permalink
Editorial: remove dependency on responsible document
Browse files Browse the repository at this point in the history
Helps with whatwg/html#7694.
  • Loading branch information
annevk committed Mar 15, 2022
1 parent 4174363 commit 6876cf5
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions xhr.bs
Original file line number Diff line number Diff line change
Expand Up @@ -424,10 +424,9 @@ and
method steps are:

<ol>
<li><p>Let <var>settingsObject</var> be <a>this</a>'s <a>relevant settings object</a>.

<li><p>If <var>settingsObject</var> has a <a>responsible document</a> and it is <em>not</em>
<a>fully active</a>, then <a>throw</a> an "{{InvalidStateError!!exception}}" {{DOMException}}.
<li><p>If <a>this</a>'s <a>relevant global object</a> is a {{Window}} object and its
<a>associated <code>Document</code></a> is not <a>fully active</a>, then <a>throw</a> an
"{{InvalidStateError!!exception}}" {{DOMException}}.

<li><p>If <var>method</var> is not a <a for=/>method</a>, then <a>throw</a> a
"{{SyntaxError!!exception}}" {{DOMException}}.
Expand All @@ -438,8 +437,10 @@ method steps are:
<li><p><a for=method>Normalize</a> <var>method</var>.

<li><p>Let <var>parsedURL</var> be the result of <a lt="URL parser">parsing</a> <var>url</var> with
<var>settingsObject</var>'s <a for="environment settings object">API base URL</a> and
<var>settingsObject</var>'s <a for="environment settings object">API URL character encoding</a>.
<a>this</a>'s <a>relevant settings object</a>'s
<a for="environment settings object">API base URL</a> and <a>this</a>'s
<a>relevant settings object</a>'s
<a for="environment settings object">API URL character encoding</a>.

<li><p>If <var>parsedURL</var> is failure, then <a>throw</a> a "{{SyntaxError!!exception}}"
{{DOMException}}.
Expand Down

0 comments on commit 6876cf5

Please sign in to comment.