https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 55081ab4698542ddf3c5ae2ffbadab91493ca2c6 authored by Anne van Kesteren on 12 April 2018, 09:58:43 UTC
Test vertical tab for base64
Tip revision: 55081ab
can-make-payment-event-constructor.https.html
<!doctype html>
<meta charset="utf-8">
<title>Test for CanMakePaymentEvent Constructor (window)</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>
test(() => {
  assert_false('CanMakePaymentEvent' in window);
}, 'CanMakePaymentEvent constructor must not be exposed in window');
</script>
back to top