| Index: chrome/test/data/workers/shutdown_shared_worker.html
|
| diff --git a/chrome/test/data/workers/shutdown_shared_worker.html b/chrome/test/data/workers/shutdown_shared_worker.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7fd20156f343341b44ea4349ffece808815fa9bd
|
| --- /dev/null
|
| +++ b/chrome/test/data/workers/shutdown_shared_worker.html
|
| @@ -0,0 +1,18 @@
|
| +<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("Shutting down worker #" + id);
|
| +var worker = new SharedWorker("worker_common.js?id=" + id);
|
| +worker.port.postMessage("close");
|
| +</script>
|
| +
|
| +</body>
|
| +</html>
|
|
|