MicrosoftEdge / MicrosoftEdge/MSEdgeExplainers

[Web Install] Distinguish AbortErrors caused by user cancellation

Open
#1,223 2 comments 0 reactions 1 assignee View on GitHub

@diekus is already working on this.

Since Jan 6, 2026.

Web Install API
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

  1. Success
  2. AbortError: The user aborted a request.
  3. 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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.