зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
d5d35f5cfe
Коммит
2889173297
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче