Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
console.log() for HTML5 Web Workers
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
Include the WorkerConsole.js script at the top of your HTML files and your Web Worker threads should be able to use console.log() to generate debugging output. This is just at the proof-of-concept stage, however, and has not been carefully tested. See the comment at the top of WorkerConsole.js. Only works in browsers that support MessageChannel (this excludes Firefox 4). See testpage.html and tests/testworker.js for the simplest possible use of WorkerConsole.js