Make testdriver use new worker infrastructure
This commit is contained in:
parent
89afa69395
commit
fea3388c41
2 changed files with 5 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue