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

Fix Firefox exploding with OOM errors when stringifying certain functions.

This commit is contained in:
Kris Maglione
2011-08-23 02:03:18 -04:00
parent 6ca4253ddf
commit ee55f89823
2 changed files with 23 additions and 2 deletions

View File

@@ -898,7 +898,9 @@ var Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference]),
keys.push([i, <>{key}{noVal ? "" : <>: {value}</>}&#x0a;</>]);
}
}
catch (e) {}
catch (e) {
util.reportError(e);
}
function compare(a, b) {
if (!isNaN(a[0]) && !isNaN(b[0]))