https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 3c140e6aafb64b93e3eeff26b43cf8096196f49e authored by Ovidio Henriquez on 05 April 2018, 20:41:56 UTC
bluetooth: web: test: Update char disconnect tests
Tip revision: 3c140e6
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