Skip to content

Commit 9144bae

Browse files
autokagamiMarcos Cáceres
authored andcommitted
Editorial: Align with Web IDL specification (#343)
1 parent 91def44 commit 9144bae

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

index.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -878,8 +878,9 @@ <h2>
878878
handler is able to respond to a payment request.
879879
</p>
880880
<pre class="idl">
881-
[Constructor(DOMString type, CanMakePaymentEventInit eventInitDict), Exposed=ServiceWorker]
881+
[Exposed=ServiceWorker]
882882
interface CanMakePaymentEvent : ExtendableEvent {
883+
constructor(DOMString type, CanMakePaymentEventInit eventInitDict);
883884
readonly attribute USVString topOrigin;
884885
readonly attribute USVString paymentRequestOrigin;
885886
readonly attribute FrozenArray&lt;PaymentMethodData&gt; methodData;
@@ -1205,8 +1206,9 @@ <h2>
12051206
<a>PaymentRequest</a> to the Payment Handler.
12061207
</p>
12071208
<pre class="idl">
1208-
[Constructor(DOMString type, PaymentRequestEventInit eventInitDict), Exposed=ServiceWorker]
1209+
[Exposed=ServiceWorker]
12091210
interface PaymentRequestEvent : ExtendableEvent {
1211+
constructor(DOMString type, PaymentRequestEventInit eventInitDict);
12101212
readonly attribute USVString topOrigin;
12111213
readonly attribute USVString paymentRequestOrigin;
12121214
readonly attribute DOMString paymentRequestId;
@@ -1219,7 +1221,7 @@ <h2>
12191221
Promise&lt;PaymentMethodChangeResponse?&gt; changePaymentMethod(DOMString methodName, optional object? methodDetails = null);
12201222
void respondWith(Promise&lt;PaymentHandlerResponse&gt;handlerResponsePromise);
12211223
};
1222-
</pre>
1224+
</pre>
12231225
<section>
12241226
<h2>
12251227
<dfn>topOrigin</dfn> attribute

0 commit comments

Comments
 (0)