From: Kalervo Kujala Date: Mon, 10 Oct 2011 20:46:43 +0000 (+0300) Subject: Make test_slave.html as valid html5. X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=b353a7b37bc2f2daacf50515ebcf5e4de1b45cd6;p=pdf.js.git Make test_slave.html as valid html5. Fix also warnings in the error console that appear from a test run. --- diff --git a/test/driver.js b/test/driver.js index 4bc14bf..7f5aef7 100644 --- a/test/driver.js +++ b/test/driver.js @@ -178,7 +178,7 @@ function snapshotCurrentPage(task, failure) { function sendQuitRequest() { var r = new XMLHttpRequest(); r.open('POST', '/tellMeToQuit?path=' + escape(appPath), false); - r.send(''); + r.send(null); } function quitApp() { diff --git a/test/test_slave.html b/test/test_slave.html index 9d8185b..51e779c 100644 --- a/test/test_slave.html +++ b/test/test_slave.html @@ -1,21 +1,27 @@ + - - pdf.js test slave - - - - - - - - - - + + pdf.js test slave + + + + + + + + + + - -

-  

Inflight requests:

-
- + +

+    

Inflight requests:

+
+ + +