mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
NO BUG: correct import in marionette about_pages tests r=me DONTBUILD
This commit is contained in:
parent
e5effb28c1
commit
e24214fc31
@ -2,7 +2,7 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
from marionette_test import MarionetteTestCase
|
||||
from marionette import MarionetteTestCase
|
||||
from marionette_driver.keys import Keys
|
||||
|
||||
class TestAboutPages(MarionetteTestCase):
|
||||
|
@ -289,8 +289,13 @@ MarionetteServerConnection.prototype = {
|
||||
}
|
||||
else {
|
||||
this.curBrowser.executeWhenReady(() => {
|
||||
this.messageManager.broadcastAsyncMessage(
|
||||
"Marionette:" + name + this.curBrowser.curFrameId, values);
|
||||
if (this.curBrowser.curFrameId) {
|
||||
this.messageManager.broadcastAsyncMessage(
|
||||
"Marionette:" + name + this.curBrowser.curFrameId, values);
|
||||
}
|
||||
else {
|
||||
this.sendError("Unfortunately can not send call to listener as it does not exist", 500, null, commandId);
|
||||
}
|
||||
});
|
||||
}
|
||||
return success;
|
||||
|
Loading…
Reference in New Issue
Block a user