1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

Merge pull request #15908 from Snuffleupagus/bug-1809164

[api-minor] Add a new `transferPdfData` option to allow transferring more data to the worker-thread (bug 1809164)
This commit is contained in:
Jonas Jenwald 2023-01-11 17:34:51 +01:00 committed by GitHub
commit f28bf23a31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 130 additions and 23 deletions

View file

@ -270,6 +270,11 @@ const defaultOptions = {
: "../web/standard_fonts/",
kind: OptionKind.API,
},
transferPdfData: {
/** @type {boolean} */
value: typeof PDFJSDev !== "undefined" && PDFJSDev.test("MOZCENTRAL"),
kind: OptionKind.API,
},
verbosity: {
/** @type {number} */
value: 1,