Re: [whatwg/xhr] Integrate feature policy (#177)

clelland commented on this pull request.



> @@ -1021,6 +1022,13 @@ method must run these steps:
   <p>Otherwise, if the <a>synchronous flag</a> is set, run these substeps:
 
   <ol>
+   <li>
+    <p>If <a>context object</a>'s <a>relevant settings object</a> has a
+    <a>responsible document</a> and it is <em>not</em>
+    <a>allowed to use</a> the <a>Synchronous XMLHttpRequest</a>
+    feature, then run <a>handle response end-of-body</a> for a <a>network
+    error</a> and return.

https://chromium-review.googlesource.com/c/chromium/src/+/804057 changes it from `InvalidAccessError` to `NetworkError`, and causes it to occur on send(), like other network conditions would.

-- 
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/xhr/pull/177#discussion_r161894710

Received on Tuesday, 16 January 2018 21:41:33 UTC