https://github.com/web-platform-tests/wpt
Raw File
Tip revision: bbafe29f8fadc182931b0c87daac2a215d49bd64 authored by Dong-hee Na on 10 October 2018, 07:29:59 UTC
HTML parser: Fix parser to close the p tag
Tip revision: bbafe29
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