Make testdriver use new worker infrastructure
This commit is contained in:
parent
89afa69395
commit
fea3388c41
@ -68,7 +68,8 @@ function nextTask() {
|
||||
r.responseArrayBuffer || r.response;
|
||||
|
||||
try {
|
||||
task.pdfDoc = new PDFDoc(new Stream(data));
|
||||
task.pdfDoc = new WorkerPDFDoc(data);
|
||||
// task.pdfDoc = new PDFDoc(new Stream(data));
|
||||
} catch (e) {
|
||||
failure = 'load PDF doc : ' + e.toString();
|
||||
}
|
||||
|
@ -8,6 +8,9 @@
|
||||
<script type="text/javascript" src="/glyphlist.js"></script>
|
||||
<script type="text/javascript" src="/metrics.js"></script>
|
||||
<script type="text/javascript" src="driver.js"></script>
|
||||
<script type="text/javascript" src="../worker.js"></script>
|
||||
<script type="text/javascript" src="../worker/message_handler.js"></script>
|
||||
<script type="text/javascript" src="../worker/handler.js"></script>
|
||||
</head>
|
||||
|
||||
<body onload="load();">
|
||||
|
Loading…
Reference in New Issue
Block a user