зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1036670 - Set shell.contentBrowser after system app frame is appended. r=fabrice
This commit is contained in:
Родитель
c35a7c566c
Коммит
70b3ba5e09
|
@ -217,11 +217,6 @@ var shell = {
|
|||
}, "network-connection-state-changed", false);
|
||||
},
|
||||
|
||||
get contentBrowser() {
|
||||
delete this.contentBrowser;
|
||||
return this.contentBrowser = document.getElementById('systemapp');
|
||||
},
|
||||
|
||||
get homeURL() {
|
||||
try {
|
||||
let homeSrc = Services.env.get('B2G_HOMESCREEN');
|
||||
|
@ -321,7 +316,7 @@ var shell = {
|
|||
container.removeChild(hotfix);
|
||||
}
|
||||
#endif
|
||||
container.appendChild(systemAppFrame);
|
||||
this.contentBrowser = container.appendChild(systemAppFrame);
|
||||
|
||||
systemAppFrame.contentWindow
|
||||
.QueryInterface(Ci.nsIInterfaceRequestor)
|
||||
|
|
Загрузка…
Ссылка в новой задаче