@@ -497,14 +497,14 @@ <h3>
497
497
< pre class ="idl ">
498
498
[Constructor(DOMString typeArg, optional BeforeInstallPromptEventInit eventInit)]
499
499
interface BeforeInstallPromptEvent : Event {
500
- Promise<UserResponseObject > prompt();
500
+ Promise<PromptResponseObject > prompt();
501
501
};
502
502
503
503
dictionary BeforeInstallPromptEventInit : EventInit {
504
504
AppBannerPromptOutcome userChoice;
505
505
};
506
506
507
- dictionary UserResponseObject {
507
+ dictionary PromptResponseObject {
508
508
AppBannerPromptOutcome userChoice;
509
509
};
510
510
</ pre >
547
547
< dfn > [[\userResponsePromise]]</ dfn >
548
548
</ dt >
549
549
< dd >
550
- A promise, which resolves with an < a > UserResponseObject </ a > , which
551
- represent the outcome of < a > presenting an install prompt</ a > .
550
+ A promise, which resolves with an < a > PromptResponseObject </ a > ,
551
+ which represent the outcome of < a > presenting an install prompt</ a > .
552
552
</ dd >
553
553
</ dl >
554
554
< section >
@@ -623,12 +623,12 @@ <h4>
623
623
< a > Present an install prompt</ a > and let < var > event</ var > 's
624
624
< a > [[\promptOutcome]]</ a > be the result.
625
625
</ li >
626
- < li > Let < var > userResponseObj </ var > be a newly created
627
- < a > UserResponseObject </ a > whose < code > userChoice</ code > member is
626
+ < li > Let < var > responseObj </ var > be a newly created
627
+ < a > PromptResponseObject </ a > whose < code > userChoice</ code > member is
628
628
set to event's < a > [[\promptOutcome]]</ a > .
629
629
</ li >
630
630
< li > Resolve < a > [[\userResponsePromise]]</ a > with
631
- < var > userResponseObject </ var > .
631
+ < var > responseObj </ var > .
632
632
</ li >
633
633
</ ol >
634
634
</ section >
0 commit comments