https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 4d07d43a20637109042a6384009306dcd3301bd5 authored by Kris Maglione on 11 April 2018, 08:57:58 UTC
Don't reparse stylesheets when assigning empty string to empty element.
Tip revision: 4d07d43
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