Bug 1462449 - Dump snapshot of about:support in talos. r=jmaher

--HG--
extra : rebase_source : 497726bef6787bdd4c8f889d2e07442930f1b1a4
This commit is contained in:
Ryan Hunt 2018-05-18 12:43:38 -05:00
parent b00603123d
commit e1ae204a81
2 changed files with 9 additions and 0 deletions

View File

@ -16,6 +16,7 @@
//JMAHER: this is temporarily commented out because this hangs the fennec browser
// dumpLog('\tBrowser outer width/height: ' + window.outerWidth + '/' + window.outerHeight);
dumpLog('__metrics\n');
TalosPowersParent.exec('dumpAboutSupport');
TalosPowersContent.goQuitApplication(true);
">
</body>

View File

@ -307,6 +307,14 @@ TalosPowersService.prototype = {
codeCoverage.resetCounters();
callback();
},
dumpAboutSupport(arg, callback, win) {
ChromeUtils.import("resource://gre/modules/Troubleshoot.jsm");
Troubleshoot.snapshot(function(snapshot) {
dump("about:support\t" + JSON.stringify(snapshot));
});
callback();
},
},
RecieveParentExecCommand(msg) {