https://github.com/web-platform-tests/wpt
Raw File
Tip revision: e05234ad84e251d939a0b71754b23b6b5392ad8b authored by moz-wptsync-bot on 14 March 2018, 18:17:10 UTC
Make slot assignment sound with layout after bug 1409975.
Tip revision: e05234a
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