1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

Validate explicit destinations on the worker-thread to prevent DataCloneError (issue 17981)

*Note:* This borrows a helper function from the viewer, however the code cannot be directly shared since the worker-thread has access to various primitives.
This commit is contained in:
Jonas Jenwald 2024-04-22 13:47:54 +02:00
parent 522af265a7
commit 7206d0a237
5 changed files with 81 additions and 34 deletions

View file

@ -0,0 +1 @@
https://github.com/mozilla/pdf.js/files/15061082/unhandled_get_annotations.pdf

View file

@ -2111,6 +2111,16 @@
"lastPage": 1,
"type": "eq"
},
{
"id": "issue17981",
"file": "pdfs/issue17981.pdf",
"md5": "3fd6d2bdcad8ff7cc5c0575da0b70266",
"rounds": 1,
"link": true,
"lastPage": 1,
"type": "eq",
"annotations": true
},
{
"id": "issue9105_other",
"file": "pdfs/issue9105_other.pdf",