chromium/content/test/data/workers/shared_worker_auth.html

<html>

<head>
<title>SharedWorker HTTP Auth Test</title>

<script src="worker_utils.js"></script>

<script>

var worker = new SharedWorker("worker_common.js");
worker.port.postMessage("auth");
</script>
</head>

<body>
<div id=statusPanel></div>
</body>
</html>