diff options
Diffstat (limited to 'testing/web-platform/meta/payment-handler')
6 files changed, 608 insertions, 0 deletions
diff --git a/testing/web-platform/meta/payment-handler/__dir__.ini b/testing/web-platform/meta/payment-handler/__dir__.ini new file mode 100644 index 0000000000..06f440266f --- /dev/null +++ b/testing/web-platform/meta/payment-handler/__dir__.ini @@ -0,0 +1,5 @@ +implementation-status: backlog +prefs: [dom.payments.request.enabled:true] +disabled: true # https://bugzilla.mozilla.org/show_bug.cgi?id=1514425 +leak-threshold: [tab:51200] +lsan-disabled: true diff --git a/testing/web-platform/meta/payment-handler/can-make-payment-event-constructor.https.serviceworker.html.ini b/testing/web-platform/meta/payment-handler/can-make-payment-event-constructor.https.serviceworker.html.ini new file mode 100644 index 0000000000..5b5a3de3bb --- /dev/null +++ b/testing/web-platform/meta/payment-handler/can-make-payment-event-constructor.https.serviceworker.html.ini @@ -0,0 +1,13 @@ +[can-make-payment-event-constructor.https.serviceworker.html] + [CanMakePaymentEvent can be constructed in service worker.] + expected: FAIL + + [CanMakePaymentEvent can be constructed with an EventInitDict, even if not trusted] + expected: FAIL + + [CanMakePaymentEvent can be constructed with a CanMakePaymentEventInit, even if not trusted] + expected: FAIL + + [CanMakePaymentEvent can be dispatched, even if not trusted] + expected: FAIL + diff --git a/testing/web-platform/meta/payment-handler/can-make-payment-event-constructor.https.worker.js.ini b/testing/web-platform/meta/payment-handler/can-make-payment-event-constructor.https.worker.js.ini new file mode 100644 index 0000000000..8c0eec0232 --- /dev/null +++ b/testing/web-platform/meta/payment-handler/can-make-payment-event-constructor.https.worker.js.ini @@ -0,0 +1,13 @@ +[can-make-payment-event-constructor.https.worker.html] + [CanMakePaymentEvent can be constructed in service worker.] + expected: FAIL + + [CanMakePaymentEvent can be constructed with an EventInitDict, even if not trusted] + expected: FAIL + + [CanMakePaymentEvent can be constructed with a CanMakePaymentEventInit, even if not trusted] + expected: FAIL + + [CanMakePaymentEvent can be dispatched, even if not trusted] + expected: FAIL + diff --git a/testing/web-platform/meta/payment-handler/idlharness.https.any.js.ini b/testing/web-platform/meta/payment-handler/idlharness.https.any.js.ini new file mode 100644 index 0000000000..b34dc456f2 --- /dev/null +++ b/testing/web-platform/meta/payment-handler/idlharness.https.any.js.ini @@ -0,0 +1,559 @@ +[idlharness.https.any.sharedworker.html] + [PaymentInstruments interface: operation delete(DOMString)] + expected: FAIL + + [PaymentInstruments interface: operation set(DOMString, PaymentInstrument)] + expected: FAIL + + [PaymentManager interface: attribute userHint] + expected: FAIL + + [PaymentInstruments interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [PaymentManager interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [ServiceWorkerRegistration interface: attribute paymentManager] + expected: FAIL + + [PaymentManager interface object length] + expected: FAIL + + [PaymentManager interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [PaymentManager interface object name] + expected: FAIL + + [PaymentInstruments interface: operation get(DOMString)] + expected: FAIL + + [PaymentInstruments interface object name] + expected: FAIL + + [PaymentInstruments interface: operation has(DOMString)] + expected: FAIL + + [PaymentInstruments interface: operation clear()] + expected: FAIL + + [PaymentInstruments interface: existence and properties of interface object] + expected: FAIL + + [PaymentInstruments interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [PaymentManager interface: attribute instruments] + expected: FAIL + + [PaymentManager interface: member requestPermission] + expected: FAIL + + [PaymentInstruments interface object length] + expected: FAIL + + [PaymentManager interface: existence and properties of interface prototype object] + expected: FAIL + + [PaymentInstruments interface: existence and properties of interface prototype object] + expected: FAIL + + [PaymentInstruments interface: operation keys()] + expected: FAIL + + [PaymentManager interface: existence and properties of interface object] + expected: FAIL + + +[idlharness.https.any.worker.html] + [idlharness] + expected: FAIL + + [PaymentInstruments interface: operation delete(DOMString)] + expected: FAIL + + [PaymentInstruments interface: operation set(DOMString, PaymentInstrument)] + expected: FAIL + + [PaymentManager interface: attribute userHint] + expected: FAIL + + [PaymentInstruments interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [PaymentManager interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [ServiceWorkerRegistration interface: attribute paymentManager] + expected: FAIL + + [PaymentManager interface object length] + expected: FAIL + + [PaymentManager interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [PaymentManager interface object name] + expected: FAIL + + [PaymentInstruments interface: operation get(DOMString)] + expected: FAIL + + [PaymentInstruments interface object name] + expected: FAIL + + [PaymentInstruments interface: operation has(DOMString)] + expected: FAIL + + [PaymentInstruments interface: operation clear()] + expected: FAIL + + [PaymentInstruments interface: existence and properties of interface object] + expected: FAIL + + [PaymentInstruments interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [PaymentManager interface: attribute instruments] + expected: FAIL + + [PaymentManager interface: member requestPermission] + expected: FAIL + + [PaymentInstruments interface object length] + expected: FAIL + + [PaymentManager interface: existence and properties of interface prototype object] + expected: FAIL + + [PaymentInstruments interface: existence and properties of interface prototype object] + expected: FAIL + + [PaymentInstruments interface: operation keys()] + expected: FAIL + + [PaymentManager interface: existence and properties of interface object] + expected: FAIL + + +[idlharness.https.any.html] + [idlharness] + expected: FAIL + + [PaymentInstruments interface: operation delete(DOMString)] + expected: FAIL + + [PaymentManager interface: paymentManager must inherit property "instruments" with the proper type] + expected: FAIL + + [PaymentInstruments interface: calling delete(DOMString) on instruments with too few arguments must throw TypeError] + expected: FAIL + + [PaymentInstruments interface: instruments must inherit property "delete(DOMString)" with the proper type] + expected: FAIL + + [PaymentInstruments interface: instruments must inherit property "get(DOMString)" with the proper type] + expected: FAIL + + [PaymentInstruments interface: instruments must inherit property "clear()" with the proper type] + expected: FAIL + + [idl_test setup] + expected: FAIL + + [Stringification of instruments] + expected: FAIL + + [PaymentInstruments interface: calling has(DOMString) on instruments with too few arguments must throw TypeError] + expected: FAIL + + [PaymentManager interface: attribute userHint] + expected: FAIL + + [PaymentInstruments interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [PaymentInstruments interface: instruments must inherit property "has(DOMString)" with the proper type] + expected: FAIL + + [PaymentManager interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [PaymentInstruments interface: operation set(DOMString, PaymentInstrument)] + expected: FAIL + + [PaymentManager interface object length] + expected: FAIL + + [PaymentManager interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [PaymentInstruments interface: calling get(DOMString) on instruments with too few arguments must throw TypeError] + expected: FAIL + + [PaymentManager interface object name] + expected: FAIL + + [PaymentInstruments interface: operation get(DOMString)] + expected: FAIL + + [PaymentInstruments interface: instruments must inherit property "set(DOMString, PaymentInstrument)" with the proper type] + expected: FAIL + + [PaymentInstruments interface object name] + expected: FAIL + + [PaymentManager interface: paymentManager must inherit property "userHint" with the proper type] + expected: FAIL + + [Stringification of paymentManager] + expected: FAIL + + [PaymentInstruments interface: operation has(DOMString)] + expected: FAIL + + [PaymentManager must be primary interface of paymentManager] + expected: FAIL + + [PaymentInstruments interface: operation clear()] + expected: FAIL + + [PaymentInstruments interface: existence and properties of interface object] + expected: FAIL + + [PaymentInstruments must be primary interface of instruments] + expected: FAIL + + [ServiceWorkerRegistration interface: registration must inherit property "paymentManager" with the proper type] + expected: FAIL + + [ServiceWorkerRegistration interface: attribute paymentManager] + expected: FAIL + + [PaymentInstruments interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [PaymentInstruments interface: instruments must inherit property "keys()" with the proper type] + expected: FAIL + + [PaymentManager interface: attribute instruments] + expected: FAIL + + [PaymentInstruments interface object length] + expected: FAIL + + [PaymentManager interface: operation requestPermission()] + expected: FAIL + + [PaymentManager interface: existence and properties of interface prototype object] + expected: FAIL + + [PaymentManager interface: paymentManager must inherit property "requestPermission()" with the proper type] + expected: FAIL + + [PaymentInstruments interface: existence and properties of interface prototype object] + expected: FAIL + + [PaymentInstruments interface: operation keys()] + expected: FAIL + + [PaymentInstruments interface: calling set(DOMString, PaymentInstrument) on instruments with too few arguments must throw TypeError] + expected: FAIL + + [PaymentManager interface: existence and properties of interface object] + expected: FAIL + + +[idlharness.https.any.serviceworker.html] + [PaymentInstruments interface: operation delete(DOMString)] + expected: FAIL + + [PaymentRequestEvent interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [PaymentRequestEvent interface: attribute instrumentKey] + expected: FAIL + + [ServiceWorkerGlobalScope interface: attribute oncanmakepayment] + expected: FAIL + + [PaymentInstruments interface: instruments must inherit property "clear()" with the proper type] + expected: FAIL + + [Stringification of instruments] + expected: FAIL + + [PaymentInstruments interface: instruments must inherit property "has(DOMString)" with the proper type] + expected: FAIL + + [PaymentRequestEvent interface: operation openWindow(USVString)] + expected: FAIL + + [PaymentInstruments interface: instruments must inherit property "set(DOMString, PaymentInstrument)" with the proper type] + expected: FAIL + + [PaymentManager interface: paymentManager must not have property "requestPermission"] + expected: FAIL + + [PaymentInstruments interface object name] + expected: FAIL + + [CanMakePaymentEvent interface: new CanMakePaymentEvent("type") must inherit property "methodData" with the proper type] + expected: FAIL + + [PaymentInstruments interface: operation has(DOMString)] + expected: FAIL + + [PaymentRequestEvent interface object name] + expected: FAIL + + [CanMakePaymentEvent interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [PaymentManager interface: member requestPermission] + expected: FAIL + + [PaymentRequestEvent interface: attribute modifiers] + expected: FAIL + + [PaymentInstruments interface: existence and properties of interface prototype object] + expected: FAIL + + [PaymentRequestEvent interface: new PaymentRequestEvent("type") must inherit property "instrumentKey" with the proper type] + expected: FAIL + + [PaymentInstruments interface: instruments must inherit property "delete(DOMString)" with the proper type] + expected: FAIL + + [PaymentRequestEvent interface: calling respondWith([object Object\]) on new PaymentRequestEvent("type") with too few arguments must throw TypeError] + expected: FAIL + + [PaymentManager interface: attribute instruments] + expected: FAIL + + [CanMakePaymentEvent interface: new CanMakePaymentEvent("type") must inherit property "paymentRequestOrigin" with the proper type] + expected: FAIL + + [PaymentManager interface: attribute userHint] + expected: FAIL + + [PaymentManager interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [ServiceWorkerRegistration interface: attribute paymentManager] + expected: FAIL + + [PaymentManager interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [PaymentInstruments interface: operation get(DOMString)] + expected: FAIL + + [CanMakePaymentEvent interface: attribute topOrigin] + expected: FAIL + + [PaymentInstruments interface: calling has(DOMString) on instruments with too few arguments must throw TypeError] + expected: FAIL + + [PaymentManager must be primary interface of paymentManager] + expected: FAIL + + [CanMakePaymentEvent interface: attribute paymentRequestOrigin] + expected: FAIL + + [PaymentRequestEvent interface: operation respondWith([object Object\])] + expected: FAIL + + [PaymentRequestEvent interface object length] + expected: FAIL + + [CanMakePaymentEvent interface: new CanMakePaymentEvent("type") must inherit property "respondWith([object Object\])" with the proper type] + expected: FAIL + + [PaymentInstruments interface: instruments must inherit property "keys()" with the proper type] + expected: FAIL + + [PaymentInstruments interface: calling delete(DOMString) on instruments with too few arguments must throw TypeError] + expected: FAIL + + [PaymentRequestEvent interface: attribute methodData] + expected: FAIL + + [ServiceWorkerRegistration interface: registration must inherit property "paymentManager" with the proper type] + expected: FAIL + + [PaymentInstruments interface: calling set(DOMString, PaymentInstrument) on instruments with too few arguments must throw TypeError] + expected: FAIL + + [PaymentInstruments interface: operation set(DOMString, PaymentInstrument)] + expected: FAIL + + [PaymentRequestEvent interface: attribute paymentRequestOrigin] + expected: FAIL + + [idl_test setup] + expected: FAIL + + [Stringification of new PaymentRequestEvent("type")] + expected: FAIL + + [CanMakePaymentEvent interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [PaymentRequestEvent interface: existence and properties of interface prototype object] + expected: FAIL + + [PaymentInstruments interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [PaymentManager interface object length] + expected: FAIL + + [ServiceWorkerGlobalScope interface: attribute onpaymentrequest] + expected: FAIL + + [PaymentInstruments interface: calling get(DOMString) on instruments with too few arguments must throw TypeError] + expected: FAIL + + [PaymentManager interface object name] + expected: FAIL + + [ServiceWorkerGlobalScope interface: self must inherit property "onpaymentrequest" with the proper type] + expected: FAIL + + [CanMakePaymentEvent must be primary interface of new CanMakePaymentEvent("type")] + expected: FAIL + + [PaymentRequestEvent interface: new PaymentRequestEvent("type") must inherit property "methodData" with the proper type] + expected: FAIL + + [PaymentRequestEvent interface: existence and properties of interface object] + expected: FAIL + + [PaymentRequestEvent interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [PaymentRequestEvent interface: attribute total] + expected: FAIL + + [PaymentRequestEvent interface: attribute paymentRequestId] + expected: FAIL + + [CanMakePaymentEvent interface: new CanMakePaymentEvent("type") must inherit property "topOrigin" with the proper type] + expected: FAIL + + [PaymentInstruments interface object length] + expected: FAIL + + [PaymentRequestEvent interface: new PaymentRequestEvent("type") must inherit property "openWindow(USVString)" with the proper type] + expected: FAIL + + [ServiceWorkerGlobalScope interface: self must inherit property "oncanmakepayment" with the proper type] + expected: FAIL + + [PaymentManager interface: existence and properties of interface prototype object] + expected: FAIL + + [PaymentManager interface: paymentManager must inherit property "instruments" with the proper type] + expected: FAIL + + [PaymentRequestEvent interface: new PaymentRequestEvent("type") must inherit property "modifiers" with the proper type] + expected: FAIL + + [Stringification of new CanMakePaymentEvent("type")] + expected: FAIL + + [PaymentRequestEvent interface: new PaymentRequestEvent("type") must inherit property "paymentRequestOrigin" with the proper type] + expected: FAIL + + [CanMakePaymentEvent interface: operation respondWith([object Object\])] + expected: FAIL + + [PaymentRequestEvent interface: new PaymentRequestEvent("type") must inherit property "paymentRequestId" with the proper type] + expected: FAIL + + [PaymentRequestEvent interface: calling openWindow(USVString) on new PaymentRequestEvent("type") with too few arguments must throw TypeError] + expected: FAIL + + [PaymentInstruments must be primary interface of instruments] + expected: FAIL + + [CanMakePaymentEvent interface: calling respondWith([object Object\]) on new CanMakePaymentEvent("type") with too few arguments must throw TypeError] + expected: FAIL + + [PaymentRequestEvent interface: new PaymentRequestEvent("type") must inherit property "topOrigin" with the proper type] + expected: FAIL + + [PaymentRequestEvent interface: new PaymentRequestEvent("type") must inherit property "total" with the proper type] + expected: FAIL + + [PaymentManager interface: paymentManager must inherit property "userHint" with the proper type] + expected: FAIL + + [Stringification of paymentManager] + expected: FAIL + + [CanMakePaymentEvent interface: existence and properties of interface prototype object] + expected: FAIL + + [PaymentInstruments interface: existence and properties of interface object] + expected: FAIL + + [PaymentInstruments interface: instruments must inherit property "get(DOMString)" with the proper type] + expected: FAIL + + [PaymentRequestEvent must be primary interface of new PaymentRequestEvent("type")] + expected: FAIL + + [CanMakePaymentEvent interface object name] + expected: FAIL + + [PaymentRequestEvent interface: new PaymentRequestEvent("type") must inherit property "respondWith([object Object\])" with the proper type] + expected: FAIL + + [CanMakePaymentEvent interface: attribute modifiers] + expected: FAIL + + [PaymentRequestEvent interface: attribute topOrigin] + expected: FAIL + + [PaymentInstruments interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [CanMakePaymentEvent interface: existence and properties of interface object] + expected: FAIL + + [CanMakePaymentEvent interface: attribute methodData] + expected: FAIL + + [PaymentInstruments interface: operation clear()] + expected: FAIL + + [CanMakePaymentEvent interface: new CanMakePaymentEvent("type") must inherit property "modifiers" with the proper type] + expected: FAIL + + [CanMakePaymentEvent interface object length] + expected: FAIL + + [PaymentInstruments interface: operation keys()] + expected: FAIL + + [PaymentManager interface: existence and properties of interface object] + expected: FAIL + + [PaymentRequestEvent interface: operation changePaymentMethod(DOMString, object)] + expected: FAIL + + [PaymentRequestEvent interface: calling changePaymentMethod(DOMString, object) on new PaymentRequestEvent("type") with too few arguments must throw TypeError] + expected: FAIL + + [PaymentRequestEvent interface: new PaymentRequestEvent("type") must inherit property "changePaymentMethod(DOMString, object)" with the proper type] + expected: FAIL + + [PaymentRequestEvent interface: new PaymentRequestEvent("type") must inherit property "requestBillingAddress" with the proper type] + expected: FAIL + + [PaymentRequestEvent interface: attribute requestBillingAddress] + expected: FAIL + diff --git a/testing/web-platform/meta/payment-handler/payment-request-event-constructor.https.serviceworker.html.ini b/testing/web-platform/meta/payment-handler/payment-request-event-constructor.https.serviceworker.html.ini new file mode 100644 index 0000000000..43d59323d9 --- /dev/null +++ b/testing/web-platform/meta/payment-handler/payment-request-event-constructor.https.serviceworker.html.ini @@ -0,0 +1,13 @@ +[payment-request-event-constructor.https.serviceworker.html] + [PaymentRequestEvent can be constucted in service worker.] + expected: FAIL + + [PaymentRequestEvent can be constructed with an EventInitDict, even if not trusted] + expected: FAIL + + [PaymentRequestEvent can be constructed with a PaymentRequestEventInit, even if not trusted] + expected: FAIL + + [PaymentRequestEvent can be dispatched, even if not trusted] + expected: FAIL + diff --git a/testing/web-platform/meta/payment-handler/untrusted-event.https.html.ini b/testing/web-platform/meta/payment-handler/untrusted-event.https.html.ini new file mode 100644 index 0000000000..edf4958c12 --- /dev/null +++ b/testing/web-platform/meta/payment-handler/untrusted-event.https.html.ini @@ -0,0 +1,5 @@ +[untrusted-event.https.html] + expected: TIMEOUT + [Test for untrusted event] + expected: TIMEOUT + |