Bug 792029 - Make SpecialPowers available in crashtests. r=ted
--- a/layout/tools/reftest/runreftest.py
+++ b/layout/tools/reftest/runreftest.py
@@ -74,16 +74,23 @@ class RefTest(object):
prefsFile.write(part)
prefsFile.close()
# install the reftest extension bits into the profile
self.automation.installExtension(os.path.join(SCRIPT_DIRECTORY, "reftest"),
profileDir,
"reftest@mozilla.org")
+ # I would prefer to use "--install-extension reftest/specialpowers", but that requires tight coordination with
+ # release engineering and landing on multiple branches at once.
+ if manifest.endswith('crashtests.list'):
+ self.automation.installExtension(os.path.join(SCRIPT_DIRECTORY, "specialpowers"),
+ profileDir,
+ "special-powers@mozilla.org")
+
def buildBrowserEnv(self, options, profileDir):
browserEnv = self.automation.environment(xrePath = options.xrePath)
browserEnv["XPCOM_DEBUG_BREAK"] = "stack"
for v in options.environment:
ix = v.find("=")
if ix <= 0:
print "Error: syntax error in --setenv=" + v