From: Julian Viereck Date: Fri, 16 Sep 2011 06:36:08 +0000 (-0700) Subject: Add firstPage option to tasks to speed up testing certain pages X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=8f21f87fd923f0c3da3d71da1c93f65be2e7c54e;p=pdf.js.git Add firstPage option to tasks to speed up testing certain pages --- diff --git a/test/driver.js b/test/driver.js index 3af8d3b..d272aab 100644 --- a/test/driver.js +++ b/test/driver.js @@ -74,7 +74,7 @@ function nextTask() { failure = 'load PDF doc : ' + e.toString(); } - task.pageNum = 1, nextPage(task, failure); + task.pageNum = task.firstPage || 1, nextPage(task, failure); } }; r.send(null);