From e60411282655cbb23426544b8b5658f435505394 Mon Sep 17 00:00:00 2001 From: Jonathan Almeida Date: Wed, 22 Apr 2020 06:39:29 -0400 Subject: [PATCH] feat: Add reference browser support to the firefox-android extension runner (#1870) (#1871) --- src/util/adb.js | 3 ++- tests/unit/test-extension-runners/test.firefox-android.js | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/util/adb.js b/src/util/adb.js index a5b99b01be..5f18230ad5 100644 --- a/src/util/adb.js +++ b/src/util/adb.js @@ -120,7 +120,8 @@ export default class ADBUtils { line.startsWith('org.mozilla.fennec') || line.startsWith('org.mozilla.fenix') || line.startsWith('org.mozilla.geckoview') || - line.startsWith('org.mozilla.firefox') + line.startsWith('org.mozilla.firefox') || + line.startsWith('org.mozilla.reference.browser') ); }); } diff --git a/tests/unit/test-extension-runners/test.firefox-android.js b/tests/unit/test-extension-runners/test.firefox-android.js index a9871252d9..60675192f8 100644 --- a/tests/unit/test-extension-runners/test.firefox-android.js +++ b/tests/unit/test-extension-runners/test.firefox-android.js @@ -114,6 +114,7 @@ function prepareSelectedDeviceAndAPKParams( discoverInstalledFirefoxAPKs: sinon.spy(() => Promise.resolve([ 'org.mozilla.fennec', 'org.mozilla.firefox', 'org.mozilla.fenix', 'org.mozilla.fenix.nightly', + 'org.mozilla.reference.browser', ])), getAndroidVersionNumber: sinon.spy(() => Promise.resolve(20)), amForceStopAPK: sinon.spy(() => Promise.resolve()),