PDF Viewer not working after updating to 127 version

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

PDF Viewer not working after updating to 127 version

Postby smayoral » Tue Oct 08, 2024 3:46 am

Hi,
we have a application using cef_binary_121.3.2+gce31761+chromium-121.0.6167.75_windows32
Our Fax applications displays PDFs. It generates a link like:

https://platform.domain.com/domain.com/ ... 9&id=12345

and the Fax is displayed in an IFrame. Everything works.

We have now updated to cef_binary_127.3.4+ge9e2e14+chromium-127.0.6533.100_windows32 and after loading this URL, we get requests for many files other files:

chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai/index.html
chrome://resources/css/text_defaults_md.css
chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai/pdf_viewer_wrapper.js
chrome://resources/lit/v3_0/lit.rollup.js
chrome://resources/js/load_time_data.js
chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js
...

I can allow these files in OnBeforeResourceLoad but I would like to know if this implies any risk, if this is ok and why the difference.

Thanks in advance,
Sergio
smayoral
Mentor
 
Posts: 61
Joined: Wed Jan 10, 2018 8:58 am

Re: PDF Viewer not working after updating to 127 version

Postby magreenblatt » Tue Oct 08, 2024 8:40 am

I can allow these files in OnBeforeResourceLoad but I would like to know if this implies any risk, if this is ok and why the difference.

Allowing chrome schemes is fine. The Chromium implementation changes over time.
magreenblatt
Site Admin
 
Posts: 12968
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 106 guests