summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/merchant-validation/constructor.tentative.http.html
blob: 8368c79a3b1dea2df26bbc804208002ec97fbf09 (plain)
1
2
3
4
5
6
7
8
9
10
11
<!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>