Sign in
webkit
/
WebKit
/
cfb87c1d228b61e4ce47522044767457c30d36e3
/
.
/
LayoutTests
/
imported
/
w3c
/
web-platform-tests
/
payment-request
/
payment-request-not-exposed.https.worker.js
blob: e5576e673520ea33504d8ddea0e862d54b28e8fb [
file
] [
log
] [
blame
]
importScripts
(
"/resources/testharness.js"
);
test
(()
=>
{
assert_true
(
isSecureContext
);
assert_false
(
'PaymentRequest'
in self
);
},
"PaymentRequest constructor must not be exposed in worker global scope"
);
done
();