summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/payment-handler/can-make-payment-event-constructor.https.serviceworker.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/payment-handler/can-make-payment-event-constructor.https.serviceworker.html')
-rw-r--r--testing/web-platform/tests/payment-handler/can-make-payment-event-constructor.https.serviceworker.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/web-platform/tests/payment-handler/can-make-payment-event-constructor.https.serviceworker.html b/testing/web-platform/tests/payment-handler/can-make-payment-event-constructor.https.serviceworker.html
new file mode 100644
index 0000000000..afff850dc4
--- /dev/null
+++ b/testing/web-platform/tests/payment-handler/can-make-payment-event-constructor.https.serviceworker.html
@@ -0,0 +1,13 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>Test for CanMakePaymentEvent Constructor</title>
+<link rel="help" href="https://w3c.github.io/payment-handler/#dom-canmakepaymentevent">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script src="/service-workers/service-worker/resources/test-helpers.sub.js"></script>
+<script>
+
+service_worker_test('can-make-payment-event-constructor.https.serviceworker.js',
+ 'CanMakePaymentEvent can be constructed in service worker');
+
+</script>