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