Browse Source

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.
Kalervo Kujala 14 years ago
parent
commit
965193b38d
  1. 3
      test/driver.js

3
test/driver.js

@ -156,7 +156,8 @@ function sendQuitRequest() {
function quitApp() { function quitApp() {
log('Done !'); 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) { if (window.SpecialPowers) {
SpecialPowers.quitApplication(); SpecialPowers.quitApplication();
} else { } else {

Loading…
Cancel
Save