To fix the "Failed to InvokeSelf" error in Chrome I added the following Javascript to my page to override the default console.log() implementation: if (navigator.userAgent.indexOf("Chrome") > -1) {
console.log = function(message) {
alert(message);
}
} Now I get alerts with the actual error ("Tile load failed"). Since I don't care about this error I got rid of the alert() and now it fails silently using the Javascript below. if (navigator.userAgent.indexOf("Chrome") > -1) {
console.log = function(message) {
// do nothing
}
} Hope this helps someone...
... View more