chromium/third_party/blink/web_tests/http/tests/devtools/service-workers/resources/sw-return-useragent.php

<html>
  <head>
    <title>repeat-fetch-service-worker.js with useragent</title>
    <script>
function installSW() {
  navigator.serviceWorker.register('repeat-fetch-service-worker.js');
}
    </script>
  </head>
  <body onload="installSW()">
    <p><?php echo $_SERVER['HTTP_USER_AGENT'] ?></p>
  </body>
</html>