https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 7ca7cb4a359d31546505db3b4eb7feb90e69fa4a authored by Marijn Kruisselbrink on 24 May 2018, 23:04:36 UTC
[Mojo Blob URLs] Handle more navigation cases.
Tip revision: 7ca7cb4
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