1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 20:44:11 +01:00

Stop unexpectedly going into INSERT mode on Facebook.

This commit is contained in:
Kris Maglione
2014-02-19 19:55:04 -08:00
parent 382ada9abf
commit 54b5fa04f2
2 changed files with 25 additions and 16 deletions

View File

@@ -977,9 +977,14 @@ Class.prototype = {
callback.call(this);
}
catch (e) {
util.dump("Error invoking timer callback registered at " +
[frame.filename, frame.lineNumber, ""].join(":"));
Cu.reportError(e);
try {
util.dump("Error invoking timer callback registered at " +
[frame.filename, frame.lineNumber, ""].join(":"));
util.reportError(e);
}
catch (e) {
Cu.reportError(e);
}
}
};
let frame = Components.stack.caller;