[w3c/ServiceWorker] when will navigation `FetchEvent.resultingClientId` have a reserved client and not an initial about:blank client? (#1228)

Previously I thought initial about:blank mainly occurred for iframes.  Looking at the spec, though, now I'm not sure.

It seems the initial about:blank document is always created in step 5 here:

https://html.spec.whatwg.org/#creating-a-new-browsing-context

And then its set execution ready in step 7.

It seems this means we should always have an active about:blank document when performing a navigation FetchEvent?  Is this right?  Or is there something in the spec which implies we should create a separate reserved Client for things like top level navigations?

Note, we don't actually create an initial about:blank for things like top level navigations, but I'm trying to expose the clients as defined in the spec.  When should the initial about:blank conceptually exist?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1228

Received on Friday, 17 November 2017 02:39:56 UTC