Skip to content

Commit

Permalink
issue # 711 - promise return object parameters (MicrosoftEdge#737)
Browse files Browse the repository at this point in the history
* updates the same-origin return object to return the computed manifest_id if the app is installed.

* this returns the same as calling the API to install a cross-origin app.

solves MicrosoftEdge#711
  • Loading branch information
diekus authored Jan 9, 2024
1 parent 00e6fd1 commit 2338200
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WebInstall/explainer_same_domain.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ To install a web site/app, the site/app would use the promise-based method `navi

* Resolve when an installation was completed.
* The success value will be an object that contains:
* `url`: url of the installed target.
* `manifest_id`: computed `manifest_id` of the installed application.
* Be rejected if the prompt is not shown or if the app installation did not complete. It'll reject with a [`DOMException`](https://developer.mozilla.org/en-US/docs/Web/API/DOMException) value of:
* `AbortError`: The installation was not completed.

Expand Down

0 comments on commit 2338200

Please sign in to comment.