https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 94fd139ae5d0bdc4274b5e2c4e91035d63876e5c authored by Marcos Cáceres on 29 November 2018, 10:38:58 UTC
Test payment request is showing boolean
Tip revision: 94fd139
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