mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 08:35:26 +00:00
fixes bug 112366 "status message is often incorrect [eg. resolving host...]"
r=jag, sr=alecf
This commit is contained in:
parent
7c2419b8b1
commit
3569664f58
@ -303,11 +303,14 @@ nsBrowserStatusHandler.prototype =
|
||||
if (aStatus == NS_NET_STATUS_READ_FROM || aStatus == NS_NET_STATUS_WROTE_TO)
|
||||
return;
|
||||
|
||||
this.status = aMessage;
|
||||
|
||||
if (!this.statusTimeoutInEffect) {
|
||||
this.statusTimeoutInEffect = true;
|
||||
this.status = aMessage;
|
||||
this.updateStatusField();
|
||||
setTimeout(function(aClosure) { aClosure.statusTimeoutInEffect = false; }, 400, this);
|
||||
setTimeout(function(aClosure) { aClosure.updateStatusField();
|
||||
aClosure.statusTimeoutInEffect = false; },
|
||||
400, this);
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user