Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector-protocol / debugger / resources / dedicated-worker.js
blob6e1f055d3eb50dadb9a82b9cda1d90036625758c
1 var message_id = 1;
2 onmessage = function(event) {
3   doWork();
4 };
6 function doWork() {
7   postMessage("Message #" + message_id++);
8   setTimeout(doWork, 50);