summaryrefslogtreecommitdiffstats
path: root/dom/workers/test/WorkerDebugger.console_worker.js
blob: 2db43a3d7ab685053a35fd0093d2bb9f051e3b60 (plain)
1
2
3
4
5
6
7
8
9
10
"use strict";

console.log("Can you see this console message?");
console.warn("Can you see this second console message?");

var worker = new Worker("WorkerDebugger.console_childWorker.js");

setInterval(function() {
  console.log("Random message.");
}, 200);