mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-30 14:17:36 -10:00
12 lines
361 B
JavaScript
12 lines
361 B
JavaScript
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();
|