Re: [whatwg/xhr] Editorial: remove dependency on responsible document (PR #344)

@annevk commented on this pull request.



> @@ -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 the <a>current global object</a> is a {{Window}} object and its

This check matches the other "is Window" checks elsewhere in the specification, but I see now how we don't grab state from them there. Oops.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/xhr/pull/344#discussion_r823924432
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/xhr/pull/344/review/906125948@github.com>

Received on Thursday, 10 March 2022 16:38:18 UTC