зеркало из https://github.com/mozilla/gecko-dev.git
Bug 571812 - Remove setIcon (followup fix) [r=vingtetun]
This commit is contained in:
Родитель
c9e87b1606
Коммит
dc78ffee7a
|
@ -78,19 +78,15 @@
|
|||
<parameter name="aMessage"/>
|
||||
<body><![CDATA[
|
||||
switch (aMessage.name) {
|
||||
case "DOMContentLoaded":
|
||||
let data = aMessage.json;
|
||||
if (this.mIconURL == "") {
|
||||
this.mIconURL = this.documentURI.prePath + "/favicon.ico";
|
||||
}
|
||||
break;
|
||||
|
||||
case "DOMPopupBlocked":
|
||||
this.onPopupBlocked(aMessage);
|
||||
break;
|
||||
|
||||
case "pageshow":
|
||||
this.onPageShow(aMessage);
|
||||
|
||||
if (this.mIconURL == "")
|
||||
this.mIconURL = this.documentURI.prePath + "/favicon.ico";
|
||||
break;
|
||||
|
||||
case "pagehide":
|
||||
|
@ -373,7 +369,6 @@
|
|||
}
|
||||
|
||||
messageManager.loadFrameScript("chrome://browser/content/bindings/browser.js", true);
|
||||
messageManager.addMessageListener("DOMContentLoaded", this);
|
||||
messageManager.addMessageListener("DOMTitleChanged", this);
|
||||
messageManager.addMessageListener("DOMLinkAdded", this);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче