mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 784198 - browserIter.docShell is undefined errors. r=felipe
This commit is contained in:
parent
f7d1450ef6
commit
b73ccf6f0c
@ -394,12 +394,6 @@ var SocialToolbar = {
|
|||||||
}
|
}
|
||||||
notifBox.appendChild(notifBrowsers);
|
notifBox.appendChild(notifBrowsers);
|
||||||
iconBox.appendChild(iconContainers);
|
iconBox.appendChild(iconContainers);
|
||||||
|
|
||||||
let browserIter = notifBox.firstElementChild;
|
|
||||||
while (browserIter) {
|
|
||||||
browserIter.docShell.isAppTab = true;
|
|
||||||
browserIter = browserIter.nextElementSibling;
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
showAmbientPopup: function SocialToolbar_showAmbientPopup(iconContainer) {
|
showAmbientPopup: function SocialToolbar_showAmbientPopup(iconContainer) {
|
||||||
@ -454,6 +448,7 @@ var SocialToolbar = {
|
|||||||
panel.addEventListener("popupshown", function onpopupshown() {
|
panel.addEventListener("popupshown", function onpopupshown() {
|
||||||
panel.removeEventListener("popupshown", onpopupshown);
|
panel.removeEventListener("popupshown", onpopupshown);
|
||||||
SocialToolbar.button.setAttribute("open", "true");
|
SocialToolbar.button.setAttribute("open", "true");
|
||||||
|
notifBrowser.docShell.isAppTab = true;
|
||||||
if (notifBrowser.contentDocument.readyState == "complete") {
|
if (notifBrowser.contentDocument.readyState == "complete") {
|
||||||
dispatchPanelEvent("socialFrameShow");
|
dispatchPanelEvent("socialFrameShow");
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user