]> git.parisson.com Git - pdf.js.git/commit
Avoid browser-test stoppage when task.pdfDoc is undefined.
authorKalervo Kujala <kkujala@>
Sat, 6 Aug 2011 20:33:07 +0000 (23:33 +0300)
committerKalervo Kujala <kkujala@>
Sat, 6 Aug 2011 20:33:07 +0000 (23:33 +0300)
commitb1ea9332b8ca0a80884e535a5977486b81646e73
tree4217e4cb52f5c79a35069b3b02a7ea9b033966dc
parent17e02e3c39b6af3468e0f857adccdb03d98e39a7
Avoid browser-test stoppage when task.pdfDoc is undefined.

If nextTask leaves task.pdfDoc as undefined then sendTaskResult will fail on
that. SendTaskResult tries to access task.pdfDoc.numPages which cannot
succeed. This leads to a complete stop in the browser-test.
test/driver.js