mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Update web-platform-tests to revision 3137d1d2d7757366a69f8a449b458b5057e0e81e
This commit is contained in:
parent
81ca858678
commit
d6ba94ca28
2339 changed files with 89274 additions and 9328 deletions
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue