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

Unified Diff: chrome/test/data/workers/workers_ui_shared_worker.html

Issue 7388020: Add sanity test for chrome://workers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 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/common/url_constants.cc ('k') | chrome/test/data/workers/workers_ui_shared_worker.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « chrome/common/url_constants.cc ('k') | chrome/test/data/workers/workers_ui_shared_worker.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698