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=633baa881f89bb743daa12bc7fb87add61020331;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 546397b..fddb4e1 100644 --- a/test/driver.js +++ b/test/driver.js @@ -183,7 +183,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 9e5a054..fd6428d 100644 --- a/test/test_slave.html +++ b/test/test_slave.html @@ -1,24 +1,30 @@ + - - pdf.js test slave - - - - - - - - - - - - - + + pdf.js test slave + + + + + + + + + + + + + - -

-  

Inflight requests:

-
- + +

+    

Inflight requests:

+
+ + +