From 2338200a37e32d9732a7ff92adf35f396c591df0 Mon Sep 17 00:00:00 2001 From: Diego Gonzalez <73939538+diekus@users.noreply.github.com> Date: Tue, 9 Jan 2024 16:18:40 +0000 Subject: [PATCH] issue # 711 - promise return object parameters (#737) * 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 #711 --- WebInstall/explainer_same_domain.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebInstall/explainer_same_domain.md b/WebInstall/explainer_same_domain.md index e902785e..af28c759 100644 --- a/WebInstall/explainer_same_domain.md +++ b/WebInstall/explainer_same_domain.md @@ -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.