constructor.tentative.http.html (486B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>Test for MerchantValidationEvent Constructor (insecure)</title> 4 <link rel="help" href="https://w3c.github.io/browser-payment-api/#merchantvalidationevent-interface"> 5 <script src="/resources/testharness.js"></script> 6 <script src="/resources/testharnessreport.js"></script> 7 <script> 8 test(() => { 9 assert_false("MerchantValidationEvent" in Window); 10 }, "MerchantValidationEvent constructor must not be exposed in insecure context"); 11 </script>