https://github.com/web-platform-tests/wpt
Raw File
Tip revision: f1a4e49db7174db444193a687b6581526b1903ab authored by Fergal Daly on 05 April 2018, 06:33:47 UTC
CSS: Add WPT tests for basic ::part() functionality.
Tip revision: f1a4e49
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