Skip to content

Add manifest field for single window applications #91

Open
@alancutter

Description

@alancutter

"launch_handler": { "client_mode": "navigate-existing" } effectively makes a web app single window though it explicitly does not prevent multiple windows or clients from being instantiated.

launch_handler is intended to be a declarative version of something the app can do itself programmatically in some future service worker launch event. Currently Chrome is considering removing menu options like "new window" when navigate-existing is set. This would violate the theoretical programmatic equivalence.

We should add a new manifest field e.g. "window_mode": "singular" that explicitly states the app wishes to be a single windowed app and gives the user agent permission to alter its UI around that as well as enforce it.

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