tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

constructor.http.html (643B)


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