From 3c067cd290317fc411ba997df129ea7c9e5a98d4 Mon Sep 17 00:00:00 2001 From: Tooru Fujisawa Date: Mon, 27 Mar 2017 23:20:18 +0900 Subject: [PATCH] Bug 1331092 - Part 4: Add release_or_beta variable to reftest condition. r=jmaher --- layout/tools/reftest/reftest.jsm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/layout/tools/reftest/reftest.jsm b/layout/tools/reftest/reftest.jsm index 587c8371e1e1..929d1d1a2429 100644 --- a/layout/tools/reftest/reftest.jsm +++ b/layout/tools/reftest/reftest.jsm @@ -683,6 +683,12 @@ function BuildConditionSandbox(aURL) { sandbox.stylo = false; #endif +#ifdef RELEASE_OR_BETA + sandbox.release_or_beta = true; +#else + sandbox.release_or_beta = false; +#endif + var hh = CC[NS_NETWORK_PROTOCOL_CONTRACTID_PREFIX + "http"]. getService(CI.nsIHttpProtocolHandler); var httpProps = ["userAgent", "appName", "appVersion", "vendor",