From 965193b38d789a389921d07ebcd924045f781fe7 Mon Sep 17 00:00:00 2001 From: Kalervo Kujala Date: Tue, 16 Aug 2011 23:08:55 +0300 Subject: [PATCH] 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. --- test/driver.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/driver.js b/test/driver.js index f12dcae23..92fc00af1 100644 --- a/test/driver.js +++ b/test/driver.js @@ -156,7 +156,8 @@ function sendQuitRequest() { function quitApp() { log('Done !'); - document.body.innerHTML = 'Tests are finished.

CLOSE ME!

'; + document.body.innerHTML = 'Tests are finished.

CLOSE ME!

' + + document.body.innerHTML; if (window.SpecialPowers) { SpecialPowers.quitApplication(); } else {