Browse Source

More restrictive monitoring.

Probably doesn't make a difference, but at least theoretically more efficient.
pull/2/head
AlexVallat 10 years ago
committed by gorhill
parent
commit
822d78be1b
  1. 2
      platform/firefox/frameModule.js

2
platform/firefox/frameModule.js

@ -317,7 +317,7 @@ const LocationChangeListener = function(docShell) {
this.messageManager = docShell.getInterface(Ci.nsIContentFrameMessageManager); this.messageManager = docShell.getInterface(Ci.nsIContentFrameMessageManager);
if (this.messageManager && typeof this.messageManager.sendAsyncMessage === 'function') { if (this.messageManager && typeof this.messageManager.sendAsyncMessage === 'function') {
this.docShell.addProgressListener(this, Ci.nsIWebProgress.NOTIFY_ALL);
this.docShell.addProgressListener(this, Ci.nsIWebProgress.NOTIFY_LOCATION);
} }
} }
} }

Loading…
Cancel
Save