https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 48a297bef34d2dea675d8df8c65f69f551405cb1 authored by Anne van Kesteren on 05 February 2018, 15:48:20 UTC
semicolons for everyone
Tip revision: 48a297b
constructor.http.html
<!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>
back to top