зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1854067 - [marionette] Unsubscribe correctly from PromptListener opened event. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D188710
This commit is contained in:
Родитель
1d72861f9f
Коммит
04943f50d5
|
@ -415,7 +415,7 @@ navigate.waitForNavigationCompleted = async function waitForNavigationCompleted(
|
|||
"XULFrameLoaderCreated",
|
||||
onBrowsingContextChanged
|
||||
);
|
||||
driver.promptListener?.off(onPromptOpened);
|
||||
driver.promptListener?.off("opened", onPromptOpened);
|
||||
unloadTimer?.cancel();
|
||||
|
||||
lazy.EventDispatcher.off("page-load", onNavigation);
|
||||
|
|
Загрузка…
Ссылка в новой задаче