From 36ac67583fec7775768aaa3a4d026f91c4a1f645 Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Sat, 4 Apr 2015 13:26:47 +0200 Subject: [PATCH] Remove commented out code about |disableWorker| in the test suite Since the tests have run with workers enabled for a long time, these comments are no longer relevant. --- test/driver.js | 4 ---- test/unit/api_spec.js | 1 - 2 files changed, 5 deletions(-) diff --git a/test/driver.js b/test/driver.js index b45205dcf..c7c104378 100644 --- a/test/driver.js +++ b/test/driver.js @@ -23,10 +23,6 @@ */ (function DriverClosure() { -// Disable worker support for running test as -// https://github.com/mozilla/pdf.js/pull/764#issuecomment-2638944 -// "firefox-bin: Fatal IO error 12 (Cannot allocate memory) on X server :1." -// PDFJS.disableWorker = true; PDFJS.enableStats = true; PDFJS.cMapUrl = '../external/bcmaps/'; PDFJS.cMapPacked = true; diff --git a/test/unit/api_spec.js b/test/unit/api_spec.js index 0044764e2..75905f76d 100644 --- a/test/unit/api_spec.js +++ b/test/unit/api_spec.js @@ -6,7 +6,6 @@ 'use strict'; describe('api', function() { - // TODO run with worker enabled var basicApiUrl = combineUrl(window.location.href, '../pdfs/basicapi.pdf'); var basicApiFileLength = 105779; // bytes function waitsForPromiseResolved(promise, successCallback) {