https://github.com/web-platform-tests/wpt
Raw File
Tip revision: e92ca1fad000cdc17052357ec324e6cfa20b5585 authored by Kenichi Ishibashi on 29 March 2018, 08:11:29 UTC
Remove create_file_system_file()
Tip revision: e92ca1f
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