Merge pull request #19935 from calixteman/bug1966721
Use the worker created in the child actor (bug 1966721)
This commit is contained in:
commit
f4a3e47018
@ -502,7 +502,10 @@ const defaultOptions = {
|
|||||||
|
|
||||||
workerPort: {
|
workerPort: {
|
||||||
/** @type {Object} */
|
/** @type {Object} */
|
||||||
value: null,
|
value:
|
||||||
|
typeof PDFJSDev !== "undefined" && PDFJSDev.test("MOZCENTRAL")
|
||||||
|
? globalThis.pdfjsPreloadedWorker
|
||||||
|
: null,
|
||||||
kind: OptionKind.WORKER,
|
kind: OptionKind.WORKER,
|
||||||
},
|
},
|
||||||
workerSrc: {
|
workerSrc: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user