mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 944219 fix leaked about:blank in mochitests, r=markh
This commit is contained in:
parent
5ac6684843
commit
8a5c9c6d8d
@ -1267,6 +1267,10 @@ SocialSidebar = {
|
||||
sbrowser.stop();
|
||||
sbrowser.removeAttribute("origin");
|
||||
sbrowser.setAttribute("src", "about:blank");
|
||||
// We need to explicitly create a new content viewer because the old one
|
||||
// doesn't get destroyed until about:blank has loaded (which does not happen
|
||||
// as long as the element is hidden).
|
||||
sbrowser.docShell.createAboutBlankContentViewer(null);
|
||||
SocialFlyout.unload();
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user