gecko-dev/dom/workers/test/WorkerDebugger.console_worker.js
2016-03-23 22:55:07 +01:00

11 lines
259 B
JavaScript

"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);