-
Notifications
You must be signed in to change notification settings - Fork 267
Open
Labels
Web Install APIImperative install for web apps from a web page.Imperative install for web apps from a web page.
Description
Currently, navigator.install()'s promise can resolve in 1 of 3 ways
SuccessAbortError: The user aborted a request.DataError: The data provided does not meet requirements.
For privacy reasons, AbortError is used as a generic failure code for any non-data related errors. This includes if the user declines the installation dialog.
We should consider changing the message string so that it only says "The user aborted a request" when the user actually clicked "cancel" in the install confirmation prompt.
Motivation - enables developers to show an error message only if something actually failed, and not if the user cancelled installation.
Metadata
Metadata
Assignees
Labels
Web Install APIImperative install for web apps from a web page.Imperative install for web apps from a web page.