From 633baa881f89bb743daa12bc7fb87add61020331 Mon Sep 17 00:00:00 2001 From: Kalervo Kujala Date: Mon, 10 Oct 2011 23:46:43 +0300 Subject: [PATCH] Make test_slave.html as valid html5. Fix also warnings in the error console that appear from a test run. --- test/driver.js | 2 +- test/test_slave.html | 46 +++++++++++++++++++++++++------------------- 2 files changed, 27 insertions(+), 21 deletions(-) diff --git a/test/driver.js b/test/driver.js index 546397bb3..fddb4e124 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 9e5a054c6..fd6428d2f 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:

+
+ + +