// opposite way than normal event handlers (returning true will prevent the default
// action, returning false will let the browser handle the error normally, by e.g.
// logging to the console), so our fallback old handler needs to return false.
- var oldHandler = window.onerror || function () { return false; };
+ var oldHandler = window.onerror || function () {
+ return false;
+ };
/**
* Dumb window.onerror handler which forwards the errors via mw.track.