mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 20:14:57 -10:00
Automatic update from web-platform-testsPaymentRequest: Apply [Exposed=Window] to the PaymentRequest API (#8641) There is no behavior change but add a test to check it. -- wpt-commits: ce44721696b37c0d9c4629435f2d4ca692d8a272 wpt-pr: 8641
8 lines
217 B
JavaScript
8 lines
217 B
JavaScript
importScripts("/resources/testharness.js");
|
|
|
|
test(() => {
|
|
assert_true(isSecureContext);
|
|
assert_false('PaymentRequest' in self);
|
|
}, "PaymentRequest constructor must not be exposed in worker global scope");
|
|
done();
|