Chrome exhibits behavior different from firefox (and other javascript environments) in that console.log requires "this" to be console. This issue is discussed here.
Simple failing code is
var helloWorld = function(callback) {
callback("Hello World");
};
helloWorld(console.log);
The included snippet makes failing code function correctly without any other changes required. It just has to be run before any console.log
s. Similar code can be written for console.info
and so on.