payment-request-event-constructor.https.html (527B)
1 <!doctype html> 2 <meta charset="utf-8"> 3 <title>Test for PaymentRequestEvent Constructor</title> 4 <link rel="help" href="https://w3c.github.io/payment-handler/#the-paymentrequestevent"> 5 <script src="/resources/testharness.js"></script> 6 <script src="/resources/testharnessreport.js"></script> 7 <script src="/service-workers/service-worker/resources/test-helpers.sub.js"></script> 8 <script> 9 10 test(() => { 11 assert_false('PaymentRequestEvent' in window); 12 }, 'PaymentRequestEvent constructor must not be exposed in window'); 13 14 </script>