Keep the results visible in test_slave.html before quitting.
Currently the innerHTML is replaced with text: Tests are finished. CLOSE ME! Instead of replacing the innerHTML prepend that text to it. This way the user can still check the results of the test.
This commit is contained in:
parent
7888439e53
commit
965193b38d
@ -156,7 +156,8 @@ function sendQuitRequest() {
|
||||
|
||||
function quitApp() {
|
||||
log('Done !');
|
||||
document.body.innerHTML = 'Tests are finished. <h1>CLOSE ME!</h1>';
|
||||
document.body.innerHTML = 'Tests are finished. <h1>CLOSE ME!</h1>' +
|
||||
document.body.innerHTML;
|
||||
if (window.SpecialPowers) {
|
||||
SpecialPowers.quitApplication();
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user