Browse Source

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.
Kalervo Kujala 14 years ago
parent
commit
25a6e09d78
  1. 2
      test/driver.js

2
test/driver.js

@ -99,7 +99,7 @@ function nextPage(task, loadError) { @@ -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);

Loading…
Cancel
Save