Index: chrome/test/data/workers/workers_ui_shared_worker.html |
diff --git a/chrome/test/data/workers/workers_ui_shared_worker.html b/chrome/test/data/workers/workers_ui_shared_worker.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..23459166706eb27e515f2b2fb9d44dbb5dbbe1f7 |
--- /dev/null |
+++ b/chrome/test/data/workers/workers_ui_shared_worker.html |
@@ -0,0 +1,18 @@ |
+<html> |
+<body> |
+<div id=result></div> |
+<script> |
+function log(message) |
+{ |
+ document.getElementById("result").innerHTML += message + "<br>"; |
+} |
+ |
+var worker = new SharedWorker("workers_ui_shared_worker.js"); |
+worker.port.postMessage("ping"); |
+worker.port.onmessage = function(event) { |
+ log("worker replied: " + event.data); |
+} |
+</script> |
+ |
+</body> |
+</html> |