summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/payment-handler/can-make-payment-event-constructor.https.worker.js
blob: d88bddceafa97487f03d63b1a8c67c5141a16721 (plain)
1
2
3
4
5
6
7
importScripts('/resources/testharness.js');

test(() => {
  assert_false('CanMakePaymentEvent' in self);
}, 'CanMakePaymentEvent constructor must not be exposed in worker');

done();