| <!doctype html> |
| <meta charset="utf8"> |
| <link rel="help" href="https://w3c.github.io/payment-request/#dom-paymentresponse-methodname"> |
| <title> |
| PaymentResponse.prototype.methodName attribute |
| </title> |
| <script src="/js-test-resources/ui-helper.js"></script> |
| <script src="/resources/payment-request.js"></script> |
| <script src="/resources/testharness.js"></script> |
| <script src="/resources/testharnessreport.js"></script> |
| <script src="resources/helpers.js"></script> |
| <ol> |
| <li> |
| <button id="button"> |
| Expect the payment method identifier to be 'https://apple.com/apple-pay'. |
| </button> |
| </li> |
| </ol> |
| <script> |
| runTest(document.getElementById("button"), {}, { methodName: 'https://apple.com/apple-pay' }).then(done); |
| </script> |