From 15f0cc18501bf7c00c5c404569d89925486aca24 Mon Sep 17 00:00:00 2001 From: Jonathan Griffin Date: Tue, 15 Jan 2013 17:41:36 -0800 Subject: [PATCH] Bug 828558 - Don't attach to jsconsole window, r=mdas --- testing/marionette/marionette-actors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/marionette/marionette-actors.js b/testing/marionette/marionette-actors.js index f1f036c26c7..af5f5793df7 100644 --- a/testing/marionette/marionette-actors.js +++ b/testing/marionette/marionette-actors.js @@ -328,7 +328,7 @@ MarionetteDriverActor.prototype = { let type = null; if (this.curFrame == null) { if (this.curBrowser == null) { - if (appName != "B2G" && this.context == "content") { + if (this.context == "content") { type = 'navigator:browser'; } return Services.wm.getMostRecentWindow(type);