Bug 612311: Add some instrumentation. r=me

This commit is contained in:
Kyle Huey 2012-03-17 13:07:28 -07:00
parent fa5db55f81
commit 72854663bd
2 changed files with 2 additions and 1 deletions

View File

@ -5,6 +5,7 @@
var counter = 0;
var interval = setInterval(function() {
dump("WorkerAlive\n");
postMessage(++counter);
}, 100);

View File

@ -10,4 +10,4 @@ onmessage = function(event) {
throw "No messages should reach me!";
}
setInterval(function() { postMessage("Still alive!"); }, 100);
setInterval(function() { dump("WorkerAlive\n"); postMessage("Still alive!"); }, 100);