Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /service-workers/service-worker/service-worker-csp-connect.https.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>Service Worker: CSP connect directive for ServiceWorker script</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="resources/test-helpers.sub.js?pipe=sub"></script>
<script>
service_worker_test(
'resources/service-worker-csp-worker.py?directive=connect',
'CSP test for connect-src in ServiceWorkerGlobalScope');
</script>