зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1504807 - [marionette] Remove call to non-existent "Marionette:newSession" message listener. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D10998 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
07c934c274
Коммит
2e1c43e3bd
|
@ -3411,10 +3411,6 @@ GeckoDriver.prototype.receiveMessage = function(message) {
|
|||
|
||||
case "Marionette:ListenersAttached":
|
||||
if (message.json.outerWindowID === this.curBrowser.curFrameId) {
|
||||
// If the frame script gets reloaded we need to call newSession.
|
||||
// In the case of desktop this just sets up a small amount of state
|
||||
// that doesn't change over the course of a session.
|
||||
this.sendAsync("newSession");
|
||||
this.curBrowser.flushPendingCommands();
|
||||
}
|
||||
break;
|
||||
|
|
Загрузка…
Ссылка в новой задаче