зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1784831 - set messageManagerGroups on the docshell test helper's actor to prevent getting events from system addon event pages; r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D204146
This commit is contained in:
Родитель
2f44a52f40
Коммит
1c49e08e91
|
@ -230,6 +230,12 @@ function doPageNavigation(params) {
|
|||
observers: observers.keys(),
|
||||
},
|
||||
allFrames: true,
|
||||
// We avoid messages from system addons event pages here, as
|
||||
// the tests test_bug321671.xhtml and test_bug690056.xhtml do
|
||||
// not expect those events, and so will intermittently fail.
|
||||
// They require messages from "browsers", "test", and "" to pass.
|
||||
// See bug 1784831 and bug 1883434 for more context.
|
||||
messageManagerGroups: ["browsers", "test", ""],
|
||||
});
|
||||
DocShellHelpersParent.eventsToListenFor = eventsToListenFor;
|
||||
DocShellHelpersParent.observers = observers;
|
||||
|
|
Загрузка…
Ссылка в новой задаче