diff --git a/payment-request/payment-request-canmakepayment-method.https.html b/payment-request/payment-request-canmakepayment-method.https.html index 891a62d2a198d4..981ddb8a2aeab3 100644 --- a/payment-request/payment-request-canmakepayment-method.https.html +++ b/payment-request/payment-request-canmakepayment-method.https.html @@ -30,7 +30,7 @@ `canMakePaymentPromise should be true` ); } catch (err) { - assert_equal( + assert_equals( err.name, "NotAllowedError", "if it throws, then it must be a NotAllowedError." @@ -71,7 +71,7 @@ `should have thrown InvalidStateError, but instead returned "${result}"` ); } catch (err) { - assert_equal( + assert_equals( err.name, "InvalidStateError", "must be an InvalidStateError." @@ -124,7 +124,7 @@ try { await request.canMakePayment(); } catch (err) { - assert_equal( + assert_equals( err.name, "NotAllowedError", "if it throws, then it must be a NotAllowedError." @@ -136,7 +136,7 @@ try { await new PaymentRequest(defaultMethods, defaultDetails).canMakePayment(); } catch (err) { - assert_equal( + assert_equals( err.name, "NotAllowedError", "if it throws, then it must be a NotAllowedError."