Bug 1501582 - Add a geckoview condition to the reftest sandbox. r=gbrown
authorKartikaya Gupta <kgupta@mozilla.com>
Tue, 11 Jun 2019 16:06:41 +0000
changeset 478277 679372a486c0aee94329fb13688ca18773431f20
parent 478276 4ef53fac3b048ddc027b9d139bb3be8ab626f55c
child 478278 c3b63aae0869581810a3b58b482bc4e417780a21
push id87627
push userkgupta@mozilla.com
push dateTue, 11 Jun 2019 17:08:27 +0000
treeherderautoland@e954e6e848d1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgbrown
bugs1501582
milestone69.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1501582 - Add a geckoview condition to the reftest sandbox. r=gbrown Differential Revision: https://phabricator.services.mozilla.com/D34537
layout/tools/reftest/manifest.jsm
--- a/layout/tools/reftest/manifest.jsm
+++ b/layout/tools/reftest/manifest.jsm
@@ -459,16 +459,20 @@ function BuildConditionSandbox(aURL) {
     sandbox.Android = xr.OS == "Android";
     sandbox.cocoaWidget = xr.widgetToolkit == "cocoa";
     sandbox.gtkWidget = xr.widgetToolkit == "gtk3";
     sandbox.qtWidget = xr.widgetToolkit == "qt";
     sandbox.winWidget = xr.widgetToolkit == "windows";
 
     sandbox.is64Bit = xr.is64Bit;
 
+    // GeckoView is currently uniquely identified by "android + e10s" but
+    // we might want to make this condition more precise in the future.
+    sandbox.geckoview = (sandbox.Android && g.browserIsRemote);
+
     // Scrollbars that are semi-transparent. See bug 1169666.
     sandbox.transparentScrollbars = xr.widgetToolkit == "gtk3";
 
     if (sandbox.Android) {
         var sysInfo = Cc["@mozilla.org/system-info;1"].getService(Ci.nsIPropertyBag2);
 
         // This is currently used to distinguish Android 4.0.3 (SDK version 15)
         // and later from Android 2.x