https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 6f740a9aaaf1e591ebc1adc03240bd1cfe3c4769 authored by Darren Shen on 15 March 2018, 06:00:00 UTC
[css-typed-om] Clean up CSSKeywordValue tests.
Tip revision: 6f740a9
payment-request-not-exposed.https.worker.js
importScripts("/resources/testharness.js");

test(function() {
  assert_true(isSecureContext);
  assert_false('PaymentRequest' in self);
  assert_false('PaymentRequestUpdateEvent' in self);
  assert_false('PaymentResponse' in self);
  assert_false('PaymentAddress' in self);
}, "PaymentRequest constructor must not be exposed in worker global scope");

done();
back to top