pdf.js.utils
pdf.js.utils copied to clipboard
[Bug]: Opening, closing and opening XObject entry duplicates properties
When opening an entry (sub node) of a XObject, closing it and then opening it again dublicates the entries under this node
Expected:
- properties should not be duplicated by repeatedly openiong and closing nodes
How to reproduce:
- open pdf
- go to Root -> Pages, select (and extend) an entry from the
Kids
array - go to
Resources (dict)
, select sub noteXObject (dict)
and an entry - click on the node
- close by clicking on it again
- open again by clicking on the node
The pdf was a pdf document wirth images embedded on each site as noly content.