Skip to content

[Web Install] Defining app already installed promise resolution behavior #1044

Closed
@LiaHiscock

Description

@LiaHiscock

Currently, the Explainer says if the app is already installed, the User Agent can decide how to handle this, and "for example", the promise can resolve with kSuccess if the app launches, and kAbort if it doesn't.

  1. We should clarify that the user agent is only in control of the UX behavior in this case (ie. showing a dialog).
  2. The promise resolution should be clearly defined by the spec.
  3. The promise should resolve with kSuccess if the app is installed, independent of whether it launched, or the dialog was shown, etc. (This prevents the developer from knowing whether the app was previously installed)

Metadata

Metadata

Assignees

Labels

Web Install APIDeclarative install for web apps from a web app.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions