diff --git a/src/core/document.js b/src/core/document.js index 8d53c5434..bcb751411 100644 --- a/src/core/document.js +++ b/src/core/document.js @@ -486,7 +486,11 @@ class Page { "getOperatorList - ignoring annotation data during " + `"${task.name}" task: "${reason}".` ); - return null; + return { + opList: null, + separateForm: false, + separateCanvas: false, + }; }) ); } diff --git a/test/pdfs/.gitignore b/test/pdfs/.gitignore index 80524c365..a9f18fd0f 100644 --- a/test/pdfs/.gitignore +++ b/test/pdfs/.gitignore @@ -366,6 +366,7 @@ !issue1045.pdf !issue5010.pdf !issue10339_reduced.pdf +!issue15557.pdf !issue4934.pdf !issue4650.pdf !issue6721_reduced.pdf diff --git a/test/pdfs/issue15557.pdf b/test/pdfs/issue15557.pdf new file mode 100644 index 000000000..e95c698a3 Binary files /dev/null and b/test/pdfs/issue15557.pdf differ diff --git a/test/test_manifest.json b/test/test_manifest.json index e566f083f..534cdaf2d 100644 --- a/test/test_manifest.json +++ b/test/test_manifest.json @@ -646,6 +646,13 @@ "rounds": 1, "type": "eq" }, + { "id": "issue15557", + "file": "pdfs/issue15557.pdf", + "md5": "5f024a42acf27f3eadc4c7418e8f4e42", + "rounds": 1, + "type": "eq", + "annotations": true + }, { "id": "hmm-pdf", "file": "pdfs/hmm.pdf", "md5": "e08467e60101ee5f4a59716e86db6dc9",