https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 4155e54da47ada1c49483446573fbcbe7989abb2 authored by Marcos Cáceres on 28 November 2018, 05:11:04 UTC
Check that billingAddress gets nulled and redacted
Tip revision: 4155e54
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