https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 6d11f4832a472ea783a8e584904bb36206d8bd18 authored by Luke Bjerring on 18 May 2018, 17:32:15 UTC
Rebase master + fix another camelCase
Tip revision: 6d11f48
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