Question

When I use console.log to write some log to the browser from a web worker it works without issues in Chrome and IE 11 but not in Firefox. Is there any reason behind that? Or should I use a different kind of logging for web workers?

Was it helpful?

Solution

The first Firefox version with support for a console in workers is Firefox 29, which will be released in late April.

Unfortunately, there is still no spec for console, so it behaves pretty differently in different browsers in terms of where it's available and how it works.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top