Skip to content

Commit

Permalink
Remove redundant stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcos Cáceres committed Nov 28, 2018
1 parent 2d02661 commit 182727f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions payment-request/billing-address-changed-manual.https.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
);
}, "onpaymentmethodchange is in prototype");

function dontRequestBillingAddress(options) {
function dontRequestBillingAddress() {
promise_test(async t => {
const request = new PaymentRequest(methods, details, {});
const showPromise = request.show();
Expand Down Expand Up @@ -81,15 +81,13 @@ <h2>Request billing address</h2>
</p>
<ol>
<li>
<button
onclick="dontRequestBillingAddress({ requestBillingAddress: false })"
>
<button onclick="dontRequestBillingAddress()">
When no billing address is requested,
`PaymentMethodChangeEvent.methodDetails.billingAddress` is null.
</button>
</li>
<li>
<button onclick="requestBillingAddress({ requestBillingAddress: true })">
<button onclick="requestBillingAddress()">
When billing address is
requested,`PaymentMethodChangeEvent.methodDetails.billingAddress` is a
`PaymentAddress`.
Expand Down

0 comments on commit 182727f

Please sign in to comment.