https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 264dcf368bb4a18496dfe69fe8117e9645d03c91 authored by Kent Tamura on 19 March 2018, 07:03:33 UTC
custom-elements: Simplify builtin-coverage.html
Tip revision: 264dcf3
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