Bug 630542 - Regression: Context menus do not pop up on links (remove the dump) [r=stechz]
authorMark Finkle <mfinkle@mozilla.com>
Tue, 01 Feb 2011 14:41:40 -0500
changeset 2729 c2d8239a31ca840a2243ca909d1c8660fa6d5903
parent 2728 6987c7f6e2528c56750f4e7f6f570f83bff8909f
child 2730 b7d5e2d0ec015e48699a2aa2e03a2e2aee1a9182
push id2292
push usermfinkle@mozilla.com
push dateTue, 01 Feb 2011 19:41:40 +0000
reviewersstechz
bugs630542
Bug 630542 - Regression: Context menus do not pop up on links (remove the dump) [r=stechz]
chrome/content/content.js
--- a/chrome/content/content.js
+++ b/chrome/content/content.js
@@ -251,17 +251,17 @@ let Content = {
     addEventListener("command", this, false);
     addEventListener("pagehide", this, false);
     addEventListener("keypress", this, false, false);
 
     this._formAssistant = new FormAssistant();
 
     try{
       docShell.QueryInterface(Ci.nsIDocShellHistory).useGlobalHistory = true;
-    } catch(e) { dump("---error: " + e + "\n"); }
+    } catch(e) { }
   },
 
   handleEvent: function handleEvent(aEvent) {
     switch (aEvent.type) {
       // If the keypress is a trusted event and has not been consume by content
       // let's send it back to the chrome process to have it handle shortcuts
       case "keypress":
         let timer = new Util.Timeout(function() {