mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 17:55:37 +02:00
XFA - Only warn about the wrong xfa type when there is an xfa thing
This commit is contained in:
parent
7082ff9bf8
commit
2fc10727c5
1 changed files with 1 additions and 1 deletions
|
@ -637,7 +637,7 @@ class WorkerMessageHandler {
|
||||||
if (xfaDatasets === null) {
|
if (xfaDatasets === null) {
|
||||||
xfaDatasets = xref.getNewRef();
|
xfaDatasets = xref.getNewRef();
|
||||||
}
|
}
|
||||||
} else {
|
} else if (xfa) {
|
||||||
acroFormRef = null;
|
acroFormRef = null;
|
||||||
// TODO: Support XFA streams.
|
// TODO: Support XFA streams.
|
||||||
warn("Unsupported XFA type.");
|
warn("Unsupported XFA type.");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue