Make test_slave.html as valid html5.

Fix also warnings in the error console that appear from a test run.
This commit is contained in:
Kalervo Kujala 2011-10-10 23:46:43 +03:00
parent ccf1e94a7d
commit b353a7b37b
2 changed files with 24 additions and 18 deletions

View File

@ -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() {

View File

@ -1,5 +1,6 @@
<!DOCTYPE html>
<html>
<head>
<head>
<title>pdf.js test slave</title>
<style type="text/css"></style>
<script type="text/javascript" src="/pdf.js"></script>
@ -10,12 +11,17 @@
<script type="text/javascript" src="/charsets.js"></script>
<script type="text/javascript" src="/cidmaps.js"></script>
<script type="text/javascript" src="driver.js"></script>
</head>
</head>
<body onload="load();">
<pre style="width:800; height:800; overflow: scroll;"id="stdout"></pre>
<body>
<pre style="width:800px; height:800px; overflow:scroll;" id="stdout"></pre>
<p>Inflight requests: <span id="inFlightCount"></span></p>
<div id="content-end"><!-- cleanup() guard --></div>
</body>
<div id="content-end"></div>
<script type="text/javascript">
'use strict';
load();
</script>
</body>
</html>