DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Mercurial (388a4d04e911)

VCS Links

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13
<!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 PaymentRequest Constructor (insecure)</title>
<link rel="help" href="https://w3c.github.io/payment-request/#paymentrequest-interface">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
test(() => {
  assert_false("PaymentRequest" in window);
}, "PaymentRequest constructor must not be exposed in insecure context");