Bug 748740 - Crtl+clicking on a link should open it even if content is calling event.stopPropagation() in a click event handler. r=mak

--HG--
extra : rebase_source : 98665c040764c5616a8f34d3c33c2a00a8415a77
This commit is contained in:
Dão Gottwald 2013-03-20 15:07:28 +01:00
parent 390ce3ea7c
commit bf314db4f2
2 changed files with 5 additions and 2 deletions

View File

@ -1128,6 +1128,10 @@ var gBrowserInit = {
var mustLoadSidebar = false;
Cc["@mozilla.org/eventlistenerservice;1"]
.getService(Ci.nsIEventListenerService)
.addSystemEventListener(gBrowser, "click", contentAreaClick, true);
gBrowser.addEventListener("DOMUpdatePageReport", gPopupBlockerObserver, false);
// Note that the XBL binding is untrusted

View File

@ -1085,8 +1085,7 @@
flex="1" contenttooltip="aHTMLTooltip"
tabcontainer="tabbrowser-tabs"
contentcontextmenu="contentAreaContextMenu"
autocompletepopup="PopupAutoComplete"
onclick="contentAreaClick(event, false);"/>
autocompletepopup="PopupAutoComplete"/>
<chatbar id="pinnedchats" layer="true" mousethrough="always" hidden="true"/>
<statuspanel id="statusbar-display" inactive="true"/>
</vbox>