mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-28 21:51:51 -10:00
27 lines
821 B
HTML
27 lines
821 B
HTML
<!doctype html>
|
|
<meta charset="utf8">
|
|
<link rel="help" href="https://w3c.github.io/payment-request/#dom-paymentresponse-requestid">
|
|
<title>
|
|
PaymentResponse.prototype.requestId attribute
|
|
</title>
|
|
<script src="/resources/testharness.js"></script>
|
|
<script src="/resources/testharnessreport.js"></script>
|
|
<script src="helpers.js"></script>
|
|
<h2>requestId attribute</h2>
|
|
<p>
|
|
When presented with the payment sheet, use any credit card select to "Pay".
|
|
Also confirm any prompts that come up.
|
|
</p>
|
|
<ol>
|
|
<li>
|
|
<button onclick="runManualTest(this, {}, {})">
|
|
Must mirror the payment request's automatically set id
|
|
</button>
|
|
</li>
|
|
<li>
|
|
<button onclick="runManualTest(this, {}, {requestId: 'pass'}, 'pass').then(done)">
|
|
Must mirror the payment request's explicitly set id
|
|
</button>
|
|
</li>
|
|
</ol>
|