Bug 870745 - Remove incorrect self argument from killAndGetStack. r=ted

This commit is contained in:
Josh Matthews 2013-05-10 10:50:51 -04:00
Родитель 976a997386
Коммит 4ea62ac6f1
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -917,7 +917,7 @@ user_pref("camino.use_system_proxy_settings", false); // Camino-only, harmless t
Also attempts to obtain a screenshot before killing the process."""
if not debuggerInfo:
self.dumpScreen(utilityPath)
self.killAndGetStackNoScreenshot(self, processPID, utilityPath, debuggerInfo)
self.killAndGetStackNoScreenshot(processPID, utilityPath, debuggerInfo)
def killAndGetStackNoScreenshot(self, processPID, utilityPath, debuggerInfo):
"""Kill the process, preferrably in a way that gets us a stack trace."""

Просмотреть файл

@ -578,7 +578,7 @@ class XPCShellTests(object):
def testTimeout(self, test, processPID):
self.log.error("TEST-UNEXPECTED-FAIL | %s | Test timed out" % test)
Automation().killAndGetStackNoScreenshot(processPID, self.appPath, None)
Automation().killAndGetStackNoScreenshot(processPID, self.appPath, self.debuggerInfo)
def post_to_autolog(self, results, name):
from moztest.results import TestContext, TestResult, TestResultCollection