blob: b358ec44e36c145efc65436131968383c7eb029c [file] [log] [blame]
<!doctype html>
<meta charset="utf-8">
<title>Payment App: Tests for PaymentRequestEvent</title>
<link rel="help" href="https://w3c.github.io/webpayments-payment-apps-api/#the-paymentrequest-event">
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>
<script src="../serviceworker/resources/test-helpers.js"></script>
<script>
'use strict';
// Tests that the PaymentRequestEvent is in a ServiceWorkerGloablContext and
// exposes its members (e.g. respondWith, waitUntil and data).
service_worker_test(
'resources/payment-request-event.js',
'Exposure of the PaymentRequestEvent object in a Service Worker.');
</script>