https://github.com/web-platform-tests/wpt
Raw File
Tip revision: a588436c16db4c8ae8644662124ff1af7e03f0d9 authored by Stephen McGruer on 03 April 2018, 21:32:18 UTC
Web Animations: Add test for Document::getAnimations across iframes
Tip revision: a588436
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