https://github.com/web-platform-tests/wpt
Raw File
Tip revision: ba2d3606cd94cb31f5832db1aa35714601e70db4 authored by Ian Kilpatrick on 16 March 2018, 20:51:08 UTC
[shapes] Remove shape-outside avoiding behaviour for new-FCs/replaced.
Tip revision: ba2d360
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