Chromium Code Reviews| Index: chrome/test/data/workers/single_shared_worker.html |
| diff --git a/chrome/test/data/workers/single_shared_worker.html b/chrome/test/data/workers/single_shared_worker.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..bf72cf7da39982d2c74d8f17dd2aa7339bcea35d |
| --- /dev/null |
| +++ b/chrome/test/data/workers/single_shared_worker.html |
| @@ -0,0 +1,17 @@ |
| +<html> |
| +<body> |
| +<div id=result></div> |
| +<script> |
| +function log(message) |
| +{ |
| + document.getElementById("result").innerHTML += message + "<br>"; |
| +} |
| + |
| +var url = document.location.toString(); |
| +var id = parseInt(url.substr(url.search("id=") + 3)); |
| +log("Creating worker #" + id); |
| +var worker = new SharedWorker("worker_common.js?id=" + id); |
| +</script> |
| + |
| +</body> |
| +</html> |