https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 7c18f59e74fc2b9ea2efe2227e05857f389fcde3 authored by Anne van Kesteren on 17 September 2018, 13:30:38 UTC
DOM: eventPhase during legacy-pre-activation behavior
Tip revision: 7c18f59
payment-request-not-exposed.https.worker.js
importScripts("/resources/testharness.js");

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