Bug 1458375 - Talos tests that use TalosPowersContent.goQuitApplication(); shouldn't close their windows. r=rwood

goQuitApplication does the work of closing all windows anyways, so closing the
window is superfluous. goQuitApplication is also going to be checking for certain
operations to be finished before doing that, which could be influenced by closing
a window early.

MozReview-Commit-ID: 9gJ0ZRn753F

--HG--
extra : rebase_source : bcf902e332fd6a5aa82e40933e6b5d15c0f73cea
This commit is contained in:
Mike Conley 2018-05-29 12:42:26 -04:00
Родитель d5d35f5cfe
Коммит 2889173297
2 изменённых файлов: 0 добавлений и 2 удалений

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

@ -25,7 +25,6 @@ function logResults(data) {
window.setTimeout(function() {
TalosPowersContent.goQuitApplication();
window.close();
}, 0);
} else {
alert(data[0].split("__start_report")[1].split("__end_report")[0]);

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

@ -59,7 +59,6 @@ function dumpConsoleAndQuit() {
dumpLog("__startTimestamp" + Date.now() + "__endTimestamp\n");
}
TalosPowersContent.goQuitApplication();
window.close();
}, 0);
}