Open
Description
Attach (recommended) or Link to PDF file
Chromium 136:
Also occures in chromium 124..
Web browser and its version
Chromium 136
Operating system and its version
pop-os 22.04
PDF.js version
5.2.133
Is the bug present in the latest PDF.js version?
Yes
Is a browser extension
No
Steps to reproduce the problem
Try to load the PDF file, something like this:
<object data={'/pdfjs/web/viewer.html?file=' + props.link} type="text/html" class="w-full h-full">
<div>Pdf Viewer / Editor embed unavailable, html {'<object type="text/html">...'} tag is unavailable</div>
</object>And observer the error in the log. Other PDFs work in the code above and this PDF opens in other PDF viewers.
The PDF as created by creating a libreoffice7.3 then saved as a docx, then libreoffice7.3 was used again to convert the docx into the attached PDF.
What is the expected behavior?
PDF load please..
What went wrong?
Structure error
