- From: Marijn Kruisselbrink <notifications@github.com>
- Date: Fri, 16 Dec 2016 10:49:31 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/fetch/pull/435/review/13388190@github.com>
mkruisselbrink commented on this pull request.
> @@ -2793,16 +2794,14 @@ optional <i>CORS flag</i> and <i>CORS-preflight flag</i>, run these steps:
<li><p>Let <var>actualResponse</var> be null.
<li>
- <p>If <var>request</var>'s <a>skip-service-worker flag</a> is unset, then run these
+ <p>If <var>request</var>'s <a>service-workers mode</a> is not "<code>none</code>", then run these
substeps:
<ol>
<li>
<p>If <var>request</var>'s <a for=request>client</a> is null or
Do we still need the client is null check, or is just relying on the service-workers mode enough now? And in particular it seems wrong that service-workers mode==foreign and client==null will now result in handle fetch being called.
> @@ -728,8 +728,9 @@ explicitly set <a for=/>request</a>'s
this flag set are subject to additional processing requirements.
<p>A <a for=/>request</a> has an associated
-<dfn export>skip-service-worker flag</dfn>. Unless stated otherwise it is
-unset.
+<dfn for=request export>service-workers mode</dfn>, that is "<code>all</code>",
Would it make sense to add some non-normative text somewhere to explain what this mode actually means? Of course you can figure that out by reading the algorithms, but I find the non-normative notes that many of the requests attributes have to be quite helpful in quickly figuring out what a particular thing is for.
--
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/435#pullrequestreview-13388190
Received on Friday, 16 December 2016 18:50:04 UTC