Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(94)

Side by Side Diff: chrome/test/data/workers/shutdown_shared_worker.html

Issue 580007: Changed CreateWorker to coalesce any matching queued shared workers when a (Closed)
Patch Set: Now supports multiple queued instances of one shared worker. Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <html>
2 <body>
3 <div id=result></div>
4 <script>
5 function log(message)
6 {
7 document.getElementById("result").innerHTML += message + "<br>";
8 }
9
10 var url = document.location.toString();
11 var id = parseInt(url.substr(url.search("id=") + 3));
12 log("Shutting down worker #" + id);
13 var worker = new SharedWorker("worker_common.js?id=" + id);
14 worker.port.postMessage("close");
15 </script>
16
17 </body>
18 </html>
OLDNEW
« no previous file with comments | « chrome/test/data/workers/queued_shared_worker_shutdown.html ('k') | chrome/test/data/workers/single_shared_worker.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698