https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 0fb07a85b24f196a8c179d8d85c287ba3ef8cb47 authored by Raymond Toy on 15 March 2018, 18:45:23 UTC
Implement tail processing for AudioNodes
Tip revision: 0fb07a8
payment-request-not-exposed.https.worker.js
importScripts("/resources/testharness.js");

test(function() {
  assert_true(isSecureContext);
  assert_false('PaymentRequest' in self);
  assert_false('PaymentRequestUpdateEvent' in self);
  assert_false('PaymentResponse' in self);
  assert_false('PaymentAddress' in self);
}, "PaymentRequest constructor must not be exposed in worker global scope");

done();
back to top