After I update to CEF 79.1.38+gecefb59+chromium-79.0.3945.130 the embed tag stops displaying the PDF, and a console warning message was printing (DEVTOOLS) :
Resource interpreted as Document but transferred with MIME type application/pdf: "https://pdfobject.com/pdf/sample-3pp.pdf".
The site I'm testing is https://pdfobject.com/, it is a project containing a JS library to display PDFs in HTML. I'm using it with my AngularJS application.
This is my HTML resultant :
- Code: Select all
<embed class="pdfobject" src="https://pdfobject.com/pdf/sample-3pp.pdf" type="application/pdf" style="overflow: auto; width: 100%; height: 100%;">
</embed>
Any ideia what can be this?