OLD | NEW |
(Empty) | |
| 1 <!doctype html> |
| 2 <meta charset="utf-8"> |
| 3 <title>Payment App: Tests for PaymentRequestEvent</title> |
| 4 <link rel="help" href="https://w3c.github.io/webpayments-payment-apps-api/#the-p
aymentrequest-event"> |
| 5 <script src="../resources/testharness.js"></script> |
| 6 <script src="../resources/testharnessreport.js"></script> |
| 7 <script src="../serviceworker/resources/test-helpers.js"></script> |
| 8 <script> |
| 9 'use strict'; |
| 10 |
| 11 // Tests that the PaymentRequestEvent is in a ServiceWorkerGloablContext and |
| 12 // exposes its members (e.g. respondWith, waitUntil and data). |
| 13 service_worker_test( |
| 14 'resources/payment-request-event.js', |
| 15 'Exposure of the PaymentRequestEvent object in a Service Worker.'); |
| 16 |
| 17 </script> |
OLD | NEW |