From: Kalervo Kujala Date: Tue, 16 Aug 2011 20:08:55 +0000 (+0300) Subject: Keep the results visible in test_slave.html before quitting. X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=965193b38d789a389921d07ebcd924045f781fe7;p=pdf.js.git 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. --- diff --git a/test/driver.js b/test/driver.js index f12dcae..92fc00a 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 {