mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 933984 - Fix "this._mutationObserver is undefined" error on new tab page. r=gavin
This commit is contained in:
parent
f95cc1a74a
commit
2a4e1d38cc
@ -146,6 +146,7 @@ let gPage = {
|
||||
handleEvent: function Page_handleEvent(aEvent) {
|
||||
switch (aEvent.type) {
|
||||
case "unload":
|
||||
if (this._mutationObserver)
|
||||
this._mutationObserver.disconnect();
|
||||
gAllPages.unregister(this);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user