diff --git a/test/driver.js b/test/driver.js index 779968d4f..a5849c5da 100644 --- a/test/driver.js +++ b/test/driver.js @@ -133,9 +133,8 @@ function nextTask() { nextPage(task, failure); } - // When generating reference images in masterMode, disable range requests - PDFJS.disableRange = task.disableRange || masterMode; - PDFJS.disableAutoFetch = !task.enableAutoFetch || masterMode; + PDFJS.disableRange = task.disableRange; + PDFJS.disableAutoFetch = !task.enableAutoFetch; try { var promise = PDFJS.getDocument({ url: absoluteUrl,