blob: db7765f7bf98c38935804c2588614911a97a2290 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
<!DOCTYPE html>
<!-- Copyright © 2017 Chromium authors and World Wide Web Consortium, (Massachusetts Institute of Technology, ERCIM, Keio University, Beihang). -->
<meta charset="utf-8">
<title>Test for PaymentRequestUpdateEvent Constructor (insecure)</title>
<link rel="help" href="https://w3c.github.io/browser-payment-api/#paymentrequestupdateevent-interface">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
test(() => {
assert_false("PaymentRequestUpdateEvent" in Window);
}, "PaymentRequestUpdateEvent constructor must not be exposed in insecure context");
</script>
|