Merge pull request #648 from kkujala/master

Make test_slave.html as valid html5.
This commit is contained in:
Artur Adib 2011-10-10 14:37:48 -07:00
commit 42b1a40315
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>