Show browser-test results in pageNum/numPages format.

This is only for convenience in order to see how far in the pdf the test
currently is.
This commit is contained in:
Kalervo Kujala 2011-08-07 00:29:34 +03:00
parent ad02c82f6a
commit 25a6e09d78

View File

@ -99,7 +99,7 @@ function nextPage(task, loadError) {
var page = null;
if (!failure) {
try {
log(" loading page "+ task.pageNum +"... ");
log(" loading page "+ task.pageNum +"/"+ task.pdfDoc.numPages +"... ");
ctx = canvas.getContext("2d");
page = task.pdfDoc.getPage(task.pageNum);