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

Unified Diff: chrome/test/data/workers/single_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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/data/workers/shutdown_shared_worker.html ('k') | chrome/test/data/workers/worker_close.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « chrome/test/data/workers/shutdown_shared_worker.html ('k') | chrome/test/data/workers/worker_close.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698