From 25a6e09d78fe04b79afd832a748137b070ac6489 Mon Sep 17 00:00:00 2001 From: Kalervo Kujala Date: Sun, 7 Aug 2011 00:29:34 +0300 Subject: [PATCH] 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. --- test/driver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/driver.js b/test/driver.js index 642c5273c..2f459e430 100644 --- a/test/driver.js +++ b/test/driver.js @@ -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);