mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
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
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue