Re: [whatwg/fetch] Add a speculative flag to `Request` as well as related processing (#881)

yoavweiss commented on this pull request.



> @@ -3101,6 +3104,10 @@ the request.
    <a for=request>origin</a> to  <var>request</var>'s
    <a for=request>client</a>'s <a for="environment settings object">origin</a>.
 
+   <li><p>If a <var>request</var>'s <a for=request>speculative flag</a> is set, then the user agent
+   may <a for=fetch lt=terminated>terminate</a> the <a>fetch</a> and return an <a>aborted network
+   error</a>, in cases where it's reasonable to believe it will result in better user experience.
+

Currently I'm not aware of implementations that do that at the moment. When discussing https://github.com/whatwg/html/pull/4115 @youennf wanted to give UAs the concrete possibility to do so, while staying conformant.

-- 
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/fetch/pull/881#discussion_r268194927

Received on Friday, 22 March 2019 14:34:41 UTC