chromium/content/test/data/service_worker/disable_web_security_get_registration.html

<!DOCTYPE html>
<body>
<script>
navigator.serviceWorker.getRegistration(location.search.substring(1))
  .then(_ => { document.title = "PASS"; });
</script>
</body>