Implement "skipPages" feature for reftests
This commit is contained in:
parent
eca6c82bbc
commit
91a5f73708
3 changed files with 15 additions and 0 deletions
|
@ -107,6 +107,13 @@ function nextPage(task, loadError) {
|
|||
}
|
||||
}
|
||||
|
||||
if (task.skipPages && task.skipPages.indexOf(task.pageNum) >= 0) {
|
||||
log(' skipping page ' + task.pageNum + '/' + task.pdfDoc.numPages +
|
||||
'... ');
|
||||
snapshotCurrentPage(task, '');
|
||||
return;
|
||||
}
|
||||
|
||||
var page = null;
|
||||
|
||||
if (!failure) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue