Bug 1319188 - Update reftest sandbox conditions for webrender. r=gfx?
authorKartikaya Gupta <kgupta@mozilla.com>
Sat, 10 Dec 2016 04:30:50 -0500
changeset 459878 eca282e174e59ff566a2865c25f0813c52b5e8d6
parent 459877 5dad3acb77904d62f0341c489493a6892326ec1a
child 459879 a28daf8892faff10bc1908614346d8ca97380ff3
push id41343
push userkgupta@mozilla.com
push dateThu, 12 Jan 2017 20:13:44 +0000
reviewersgfx
bugs1319188
milestone53.0a1
Bug 1319188 - Update reftest sandbox conditions for webrender. r=gfx? MozReview-Commit-ID: A8YVBukNd3C
layout/tools/reftest/reftest.jsm
--- a/layout/tools/reftest/reftest.jsm
+++ b/layout/tools/reftest/reftest.jsm
@@ -674,16 +674,18 @@ function BuildConditionSandbox(aURL) {
     sandbox.layersGPUAccelerated =
       gWindowUtils.layerManagerType != "Basic";
     sandbox.d3d11 =
       gWindowUtils.layerManagerType == "Direct3D 11";
     sandbox.d3d9 =
       gWindowUtils.layerManagerType == "Direct3D 9";
     sandbox.layersOpenGL =
       gWindowUtils.layerManagerType == "OpenGL";
+    sandbox.webrender =
+      gWindowUtils.layerManagerType == "WebRender";
     sandbox.layersOMTC =
       gWindowUtils.layerManagerRemote == true;
 
     // Shortcuts for widget toolkits.
     sandbox.B2G = xr.widgetToolkit == "gonk";
     sandbox.Android = xr.OS == "Android" && !sandbox.B2G;
     sandbox.cocoaWidget = xr.widgetToolkit == "cocoa";
     sandbox.gtkWidget = xr.widgetToolkit == "gtk2"