chromium/chrome/test/data/privacy_budget/calls_shared_worker.html

<!DOCTYPE html>
<meta charset="utf-8">
<title>Privacy Budget: Test page that fetches User Agent using a Shared Worker</title>
<script src="test_utils.js"></script>
<script language="javascript">
  const myWorker = new SharedWorker('shared_worker.js');
  myWorker.port.onmessage = (e) => {
    sendValueToTest('Done');
    myWorker.port.postMessage('close');
  }
  myWorker.port.postMessage('Start');
</script>