Do not announce robot account token before account ID is available
[chromium-blink-merge.git] / chrome / test / data / ssl / page_with_unsafe_worker.html
blob1c6bb56ab2b357424c0665640ce8c1418b5ff28f
1 <html>
2 <script>
4 var isWorkerFinished = false;
5 var isContentLoaded = false;
7 function IsWorkerFinished() {
8 return isWorkerFinished;
11 function IsContentLoaded() {
12 return isContentLoaded;
15 var worker;
16 function test() {
17 worker = new Worker("REPLACE_WITH_UNSAFE_WORKER_PATH");
18 worker.onmessage = function(e) {
19 isContentLoaded = (e.data == "loaded");
20 isWorkerFinished = true;
24 </script>
25 <body onload="test()"></body>
26 </html>