MicrosoftEdge / MicrosoftEdge/MSEdgeExplainers
[Web Install] Distinguish AbortErrors caused by user cancellation
@diekus is already working on this.
Since Jan 6, 2026.
- Dominant language
- HTML
- Stars
- 1.4k
- Forks
- 286
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 8
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.