mirror of
https://github.com/servo/servo
synced 2026-05-12 09:56:50 +02:00
Update web-platform-tests to revision 3137d1d2d7757366a69f8a449b458b5057e0e81e
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<!doctype html>
|
||||
<title>PaymentRequest <iframe allowpaymentrequest> basic</title>
|
||||
<script src=/resources/testharness.js></script>
|
||||
<script src=/resources/testharnessreport.js></script>
|
||||
<iframe id="iframe" allowpaymentrequest></iframe>
|
||||
<script>
|
||||
async_test((t) => {
|
||||
const paymentArgs = [[{supportedMethods: ['foo']}], {total: {label: 'label', amount: {currency: 'USD', value: '5.00'}}}];
|
||||
|
||||
onload = t.step_func_done(() => {
|
||||
new window[0].PaymentRequest(...paymentArgs);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user