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();