Bug 1083897, part 1 - Require leak logs for tab processes on desktop. r=khuey
--- a/testing/mochitest/mochitest_options.py
+++ b/testing/mochitest/mochitest_options.py
@@ -654,19 +654,18 @@ class MochitestOptions(optparse.OptionPa
options.e10s = True
options.leakThresholds = {
"default": options.defaultLeakThreshold,
"tab": 2000000, # See dependencies of bug 1051230.
"geckomediaplugin": 20000, # GMP rarely gets a log, but when it does, it leaks a little.
}
- # Bug 1051230 - Leak logging does not yet work for tab processes on desktop.
# Bug 1065098 - The geckomediaplugin process fails to produce a leak log for some reason.
- options.ignoreMissingLeaks = ["tab", "geckomediaplugin"]
+ options.ignoreMissingLeaks = ["geckomediaplugin"]
return options
class B2GOptions(MochitestOptions):
b2g_options = [
[["--b2gpath"],
{ "action": "store",
@@ -866,15 +865,15 @@ class B2GOptions(MochitestOptions):
options.app = temp
options.sslPort = tempSSL
options.httpPort = tempPort
# Bug 1071866 - B2G Mochitests do not always produce a leak log.
options.ignoreMissingLeaks.append("default")
# Bug 1070068 - Leak logging does not work for tab processes on B2G.
- assert "tab" in options.ignoreMissingLeaks, "Ignore failures for tab processes on B2G"
+ options.ignoreMissingLeaks.append("tab")
return options
def elf_arm(self, filename):
data = open(filename, 'rb').read(20)
return data[:4] == "\x7fELF" and ord(data[18]) == 40 # EM_ARM