Merge pull request #648 from kkujala/master
Make test_slave.html as valid html5.
This commit is contained in:
commit
42b1a40315
@ -178,7 +178,7 @@ function snapshotCurrentPage(task, failure) {
|
|||||||
function sendQuitRequest() {
|
function sendQuitRequest() {
|
||||||
var r = new XMLHttpRequest();
|
var r = new XMLHttpRequest();
|
||||||
r.open('POST', '/tellMeToQuit?path=' + escape(appPath), false);
|
r.open('POST', '/tellMeToQuit?path=' + escape(appPath), false);
|
||||||
r.send('');
|
r.send(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
function quitApp() {
|
function quitApp() {
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>pdf.js test slave</title>
|
<title>pdf.js test slave</title>
|
||||||
@ -12,10 +13,15 @@
|
|||||||
<script type="text/javascript" src="driver.js"></script>
|
<script type="text/javascript" src="driver.js"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body onload="load();">
|
<body>
|
||||||
<pre style="width:800; height:800; overflow: scroll;"id="stdout"></pre>
|
<pre style="width:800px; height:800px; overflow:scroll;" id="stdout"></pre>
|
||||||
<p>Inflight requests: <span id="inFlightCount"></span></p>
|
<p>Inflight requests: <span id="inFlightCount"></span></p>
|
||||||
<div id="content-end"><!-- cleanup() guard --></div>
|
<div id="content-end"></div>
|
||||||
</body>
|
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
'use strict';
|
||||||
|
load();
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user