mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-24 09:08:07 +02:00
Merge pull request #19537 from Snuffleupagus/api-useWasm
[api-minor] Re-factor how the `useWorkerFetch` option is used internally
This commit is contained in:
commit
a648e1e769
6 changed files with 29 additions and 23 deletions
|
@ -638,10 +638,11 @@ class Driver {
|
|||
password: task.password,
|
||||
cMapUrl: CMAP_URL,
|
||||
standardFontDataUrl: STANDARD_FONT_DATA_URL,
|
||||
wasmUrl: task.noWasm ? null : WASM_URL,
|
||||
wasmUrl: WASM_URL,
|
||||
disableAutoFetch: !task.enableAutoFetch,
|
||||
pdfBug: true,
|
||||
useSystemFonts: task.useSystemFonts,
|
||||
useWasm: task.useWasm,
|
||||
useWorkerFetch: task.useWorkerFetch,
|
||||
enableXfa: task.enableXfa,
|
||||
isOffscreenCanvasSupported,
|
||||
|
|
|
@ -6422,9 +6422,9 @@
|
|||
"id": "issue19326_nowasm",
|
||||
"file": "pdfs/issue19326.pdf",
|
||||
"md5": "b4d937017daf439a6318501428e0c6ba",
|
||||
"noWasm": true,
|
||||
"rounds": 1,
|
||||
"type": "eq"
|
||||
"type": "eq",
|
||||
"useWasm": false
|
||||
},
|
||||
{
|
||||
"id": "issue19326_main_thread_fetch",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue