diff --git a/index.html b/index.html index 27bff131c..2b73276c1 100644 --- a/index.html +++ b/index.html @@ -399,18 +399,17 @@

Queue a task on the application life-cycle task source to do the following:
    -
  1. Let event be a newly constructed - BeforeInstallPromptEvent named - "beforeinstallprompt", which is cancelable. +
  2. Let target be at Window object of the + top-level browsing context.
  3. -
  4. - Fire event at the Window object of the - top-level browsing context. +
  5. Let showPrompt be the result of firing an + event (event) named "beforeinstallprompt", using + BeforeInstallPromptEvent at target with its + cancelable attribute initialized to true.
  6. -
  7. If event's canceled flag is not set, then, - in parallel, request to present an install prompt - with event. +
  8. If showPrompt is true, then, in parallel, + request to present an install prompt with + event.
@@ -495,15 +494,10 @@

BeforeInstallPromptEvent Interface

-          [Constructor(DOMString typeArg, optional BeforeInstallPromptEventInit eventInit)]
+          [Constructor]
           interface BeforeInstallPromptEvent : Event {
               Promise<PromptResponseObject> prompt();
           };
-
-          dictionary BeforeInstallPromptEventInit : EventInit {
-            AppBannerPromptOutcome userChoice;
-          };
-
           dictionary PromptResponseObject {
             AppBannerPromptOutcome userChoice;
           };