Skip to content

Commit 5234bb0

Browse files
marcoscaceresdomenic
authored andcommitted
Editorial: Add [NewObject] annotations to methods
1 parent bbde6f7 commit 5234bb0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,8 +569,11 @@ <h2>
569569
[Constructor(sequence&lt;PaymentMethodData&gt; methodData, PaymentDetailsInit details, optional PaymentOptions options),
570570
SecureContext, Exposed=Window]
571571
interface PaymentRequest : EventTarget {
572+
[NewObject]
572573
Promise&lt;PaymentResponse&gt; show(optional Promise&lt;PaymentDetailsUpdate&gt; detailsPromise);
574+
[NewObject]
573575
Promise&lt;void&gt; abort();
576+
[NewObject]
574577
Promise&lt;boolean&gt; canMakePayment();
575578

576579
readonly attribute DOMString id;
@@ -3160,7 +3163,9 @@ <h2>
31603163
readonly attribute DOMString? payerEmail;
31613164
readonly attribute DOMString? payerPhone;
31623165

3166+
[NewObject]
31633167
Promise&lt;void&gt; complete(optional PaymentComplete result = "unknown");
3168+
[NewObject]
31643169
Promise&lt;void&gt; retry(PaymentValidationErrors errorFields);
31653170

31663171
attribute EventHandler onpayerdetailchange;

0 commit comments

Comments
 (0)