<!DOCTYPE html>
<title>Service Worker: Registration (SecurityError)</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="resources/test-helpers.sub.js"></script>
<script src="resources/registration-tests-security-error.js"></script>
<script>
registration_tests_security_error((script, options) => navigator.serviceWorker.register(script, options));
</script>