https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 21f1c08f6e5d4ead08f51968aa6246b2c54b7f15 authored by Geoffrey Sneddon on 10 April 2018, 07:46:22 UTC
Fix #10388: Make resources/test use the upstream config
Tip revision: 21f1c08
service-none.https.sub.html
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/testharness-helper.js"></script>
<meta http-equiv="Content-Security-Policy" content="worker-src 'none'">
<script>
  var url = new URL("../support/ping.js", document.baseURI).toString();
  assert_service_worker_is_blocked(url, "Same-origin service worker blocked by 'none'.");
</script>
back to top