summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/payment-request/payment-request-not-exposed.https.worker.js
blob: e5576e673520ea33504d8ddea0e862d54b28e8fb (plain)
1
2
3
4
5
6
7
importScripts("/resources/testharness.js");

test(() => {
  assert_true(isSecureContext);
  assert_false('PaymentRequest' in self);
}, "PaymentRequest constructor must not be exposed in worker global scope");
done();