From b353a7b37bc2f2daacf50515ebcf5e4de1b45cd6 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 | 40 +++++++++++++++++++++++----------------- 2 files changed, 24 insertions(+), 18 deletions(-) diff --git a/test/driver.js b/test/driver.js index 4bc14bf15..7f5aef733 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 9d8185bb9..51e779c87 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:

+
+ + +