Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / content / test / data / workers / single_worker.html
blob3c6e7d25c5357e7853382ab2f69dbf1d618f02cb
1 <html>
3 <head>
4 <title>Single Worker Test</title>
6 <script src="worker_utils.js"></script>
8 <script>
10 var worker = getWorker("worker_common.js");
11 worker.postMessage("ping");
12 worker.onmessage = function(evt) {
13 if (evt.data == "pong")
14 onSuccess();
15 else
16 onFailure();
19 </script>
20 </head>
22 <body>
23 <div id=statusPanel></div>
24 </body>
25 </html>