Skip to content

consider Client behavior for windows where initial about:blank is replaced with a loaded document #1091

@wanderview

Description

@wanderview

Our current plan is to expose the environment creation URL as Client.url when the environment is marked execution ready. This is a bit confusing for the case where the environment has multiple documents; like when an initial about:blank is replaced with a loaded document. See:

whatwg/html#2456

My read of the spec and my initial implementation so far expose the about:blank URL briefly as Client.url. In addition, the environment is marked execution ready twice. Once as about:blank and once as the final loaded URL. The second time its marked execution ready this basically amounts to updating the creation URL.

Is this intended behavior for the clients API? I suspect perhaps the intent was not to mark the Client as non-reserved until after the final loaded document is execution ready.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions