XFA - Only warn about the wrong xfa type when there is an xfa thing

This commit is contained in:
Calixte Denizet 2021-09-18 15:44:05 +02:00
parent 7082ff9bf8
commit 2fc10727c5

View File

@ -637,7 +637,7 @@ class WorkerMessageHandler {
if (xfaDatasets === null) {
xfaDatasets = xref.getNewRef();
}
} else {
} else if (xfa) {
acroFormRef = null;
// TODO: Support XFA streams.
warn("Unsupported XFA type.");