https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 920625c0189a444b6c4f0ce44ca3d02d5921ee39 authored by Ms2ger on 06 April 2018, 07:56:32 UTC
Add some obsolete, proprietary Gecko interfaces to historical tests.
Tip revision: 920625c
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