mirror of
https://github.com/servo/servo.git
synced 2025-08-14 18:05:36 +01:00
Update web-platform-tests to revision fb15e14b52049f952612623ee0d7fb7a620a57c9
This commit is contained in:
parent
200cc8aa6b
commit
4a942c982f
141 changed files with 2563 additions and 1589 deletions
|
@ -264,14 +264,12 @@ promise_test(async t => {
|
|||
promise_test(async t => {
|
||||
const methodName = 'basic-card';
|
||||
await registerApp(methodName);
|
||||
const cardType = 'prepaid';
|
||||
const cardNetwork = 'mir';
|
||||
const request = new PaymentRequest(
|
||||
[
|
||||
{
|
||||
supportedMethods: methodName,
|
||||
data: {
|
||||
supportedTypes: [cardType],
|
||||
supportedNetworks: [cardNetwork],
|
||||
},
|
||||
},
|
||||
|
@ -305,14 +303,12 @@ promise_test(async t => {
|
|||
|
||||
promise_test(async t => {
|
||||
const methodName = 'basic-card';
|
||||
const cardType = 'prepaid';
|
||||
const cardNetwork = 'mir';
|
||||
const registration = await registerApp(methodName);
|
||||
await registration.paymentManager.instruments.set(instrumentKey, {
|
||||
name: 'Test Payment Method',
|
||||
method: methodName,
|
||||
capabilities: {
|
||||
supportedTypes: [cardType],
|
||||
supportedNetworks: [cardNetwork],
|
||||
},
|
||||
});
|
||||
|
@ -321,7 +317,6 @@ promise_test(async t => {
|
|||
{
|
||||
supportedMethods: methodName,
|
||||
data: {
|
||||
supportedTypes: [cardType],
|
||||
supportedNetworks: [cardNetwork],
|
||||
},
|
||||
},
|
||||
|
@ -355,14 +350,12 @@ promise_test(async t => {
|
|||
|
||||
promise_test(async t => {
|
||||
const methodName = 'basic-card';
|
||||
const cardType = 'prepaid';
|
||||
const cardNetwork = 'mir';
|
||||
const registration = await registerApp(methodName);
|
||||
await registration.paymentManager.instruments.set(instrumentKey, {
|
||||
name: 'Test Payment Method',
|
||||
method: methodName,
|
||||
capabilities: {
|
||||
supportedTypes: [cardType],
|
||||
supportedNetworks: [cardNetwork],
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue