[Pkg-javascript-commits] [pdf.js] 42/119: Remove commented out code about |disableWorker| in the test suite

David Prévot taffit at moszumanska.debian.org
Wed May 13 21:27:39 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository pdf.js.

commit 36ac67583fec7775768aaa3a4d026f91c4a1f645
Author: Jonas Jenwald <jonas.jenwald at gmail.com>
Date:   Sat Apr 4 13:26:47 2015 +0200

    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 b45205d..c7c1043 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 0044764..75905f7 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) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git



More information about the Pkg-javascript-commits mailing list