Iframes not being rendered

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.

Iframes not being rendered

Postby nkanand » Thu Feb 04, 2021 12:29 pm

We are using custom version of CEF, built with CEF 4147. When browsing to a page that has iframe, the contents of iframe are empty.
The same works fine in cefclient.exe application. Are there any pointers to debug this issue further?

Also, is there a way to identifying renderer process corresponding to the iframe (i.e., by enabling command lines to show frame url or some other info)?

Thanks in advance,
nkanand
Techie
 
Posts: 18
Joined: Wed Aug 05, 2020 11:46 pm

Re: Iframes not being rendered

Postby magreenblatt » Thu Feb 04, 2021 1:22 pm

What did you change in CEF? What command-line flags are you using?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Iframes not being rendered

Postby nkanand » Thu Feb 04, 2021 1:58 pm

Thanks for the quick response. Our customizations include subscribing to mutation events.
CEF 3763 works fine with Iframes. We are porting over to 4147 and see the Iframes not being rendered.

cmd line used is:
--resources-dir-path=/usr/share/cef \
--locales-dir-path=/usr/share/cef/locales \
--browser-subprocess-path=/renderer.x \
--cache-path=/cache \
--enable-begin-frame-scheduling \
--disable-gpu \
--disable-gpu-compositing \
--no-sandbox \
--disable-hang-monitor \
--trace-startup \
--trace-startup-file=/tmp/engine.log \
--trace-startup-duration=3000 \
--disable-in-process-stack-traces"
nkanand
Techie
 
Posts: 18
Joined: Wed Aug 05, 2020 11:46 pm

Re: Iframes not being rendered

Postby magreenblatt » Thu Feb 04, 2021 3:20 pm

Are you using off-screen rendering? If so, how does “cefclient --off-screen-rendering-enabled” behave?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

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