Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / content / test / data / workers / single_shared_worker.html
blobbf72cf7da39982d2c74d8f17dd2aa7339bcea35d
1 <html>
2 <body>
3 <div id=result></div>
4 <script>
5 function log(message)
7 document.getElementById("result").innerHTML += message + "<br>";
10 var url = document.location.toString();
11 var id = parseInt(url.substr(url.search("id=") + 3));
12 log("Creating worker #" + id);
13 var worker = new SharedWorker("worker_common.js?id=" + id);
14 </script>
16 </body>
17 </html>