Skip to content

when will navigation FetchEvent.resultingClientId have a reserved client and not an initial about:blank client? #1228

@wanderview

Description

@wanderview

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions