Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /merchant-validation/constructor.tentative.http.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<title>Test for MerchantValidationEvent Constructor (insecure)</title>
<link rel="help" href="https://w3c.github.io/browser-payment-api/#merchantvalidationevent-interface">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
test(() => {
assert_false("MerchantValidationEvent" in Window);
}, "MerchantValidationEvent constructor must not be exposed in insecure context");
</script>