Sign in
webkit
/
WebKit
/
c1caffe95ad375f06e3e00c09db727d44dd65d13
/
.
/
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
();