This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Remove SecureloginChrome.prototype.onLocationChange().

This processing of onLocationChange() is meaningless practically.
It complies with the implementation of nsILoginManager.
  • Loading branch information...
saneyuki committed Nov 30, 2011
1 parent b76ec12 commit e021b2e85dac6cc8da7609db57db65ac0ea6517d
Showing with 0 additions and 6 deletions.
  1. +0 −6 modules/SecureloginChrome.jsm
@@ -219,12 +219,6 @@ SecureloginChrome.prototype = {
},
/* ProgressListener */
onLocationChange: function (aBrowser, aWebProgress, aRequest, aLocation, aFlags) {
if (aFlags & Ci.nsIWebProgressListener.LOCATION_CHANGE_SAME_DOCUMENT) {
this.updateOnProgress(aBrowser, aWebProgress.DOMWindow);
}
},
onStateChange: function (aBrowser, aWebProgress, aRequest, aStateFlags, aStatus) {
if (!(aStateFlags & Ci.nsIWebProgressListener.STATE_STOP)) {
// Fastback (e.g. restore the tab) doesn't fire DOMContentLoaded.

0 comments on commit e021b2e

Please sign in to comment.