mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Disable work on firefox using feature detection
This commit is contained in:
parent
70767b4522
commit
99254891e6
2 changed files with 16 additions and 7 deletions
|
@ -7,6 +7,11 @@
|
|||
|
||||
'use strict';
|
||||
|
||||
// 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;
|
||||
|
||||
var appPath, browser, canvas, currentTaskIdx, manifest, stdout;
|
||||
var inFlightRequests = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue