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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 worker = new SharedWorker("workers_ui_shared_worker.js");
11 worker.port.postMessage("ping");
12 worker.port.onmessage = function(event) {
13 log("worker replied: " + event.data);
14 }
15 </script>
16
17 </body>
18 </html>
OLDNEW
« 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