diff options
author | Kris Maglione <maglione.k@gmail.com> | 2011-08-23 02:03:18 -0400 |
---|---|---|
committer | Kris Maglione <maglione.k@gmail.com> | 2011-08-23 02:03:18 -0400 |
commit | ee55f89823d9d890f3baaa220c9d12a77fa66908 (patch) | |
tree | daca9b5982e699627618a0e235fcd0a4955b2463 /common/modules/util.jsm | |
parent | 6ca4253ddf020854ed6ae6f39d068b52cc4d69d8 (diff) | |
download | pentadactyl-ee55f89823d9d890f3baaa220c9d12a77fa66908.tar.gz |
Fix Firefox exploding with OOM errors when stringifying certain functions.
Diffstat (limited to 'common/modules/util.jsm')
-rw-r--r-- | common/modules/util.jsm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/common/modules/util.jsm b/common/modules/util.jsm index 383a9e5e..63fb0c3b 100644 --- a/common/modules/util.jsm +++ b/common/modules/util.jsm @@ -898,7 +898,9 @@ var Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference]), keys.push([i, <>{key}{noVal ? "" : <>: {value}</>}
</>]); } } - catch (e) {} + catch (e) { + util.reportError(e); + } function compare(a, b) { if (!isNaN(a[0]) && !isNaN(b[0])) |