зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1451058: Follow-up: Fix window leak in popup tests. r=bustage
MozReview-Commit-ID: 7ucAN5usp0o
This commit is contained in:
Родитель
27b1c032a5
Коммит
b2ea14013a
|
@ -124,6 +124,9 @@ class BasePopup {
|
|||
}
|
||||
|
||||
let {panel} = this;
|
||||
if (panel) {
|
||||
panel.removeEventListener("popuppositioned", this, {capture: true});
|
||||
}
|
||||
if (panel && panel.id !== REMOTE_PANEL_ID) {
|
||||
panel.style.removeProperty("--arrowpanel-background");
|
||||
panel.removeAttribute("remote");
|
||||
|
|
Загрузка…
Ссылка в новой задаче