CefFrame::GetIdentifier diff between browser/render process

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.

CefFrame::GetIdentifier diff between browser/render process

Postby amaitland » Fri Jun 14, 2019 1:10 am

Hi,

Version: CEF 75.0.3+g699a922+chromium-75.0.3770.80
OS: Windows

Looking for some clarification in relation to CefFrame::GetIdentifier(), loading a page that has a single frame it appears that the Identifier in the Browser Process is different to the Render process, is this the intended behaviour? If yes then can the documentation be updated to reflect this?

Thanks,
Alex
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1292
Joined: Wed Jan 14, 2015 2:35 am

Re: CefFrame::GetIdentifier diff between browser/render proc

Postby magreenblatt » Fri Jun 14, 2019 2:14 am

It is not intended behavior. Does it matter if you run with --disable-features=NetworkService ?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: CefFrame::GetIdentifier diff between browser/render proc

Postby amaitland » Fri Jun 14, 2019 2:38 am

Thanks for confirming, now that I know it's not the intended behaviour I'll do some more tests.
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1292
Joined: Wed Jan 14, 2015 2:35 am

Re: CefFrame::GetIdentifier diff between browser/render proc

Postby amaitland » Sun Jun 16, 2019 5:35 am

Testing again with 75.0.6+g90ecd35+chromium-75.0.3770.80 and I'm still seeing the frame Id as different between the processes.

Disabling network service doesn't appear to make any difference. I modified cefclient to verify the issue. The command line args used for testing are:

Code: Select all
"D:\Software\cef\cef_binary_75.0.6\tests\cefclient\Release\cefclient.exe" --enable-logging=1 --renderer-startup-dialog=1 --disable-features=NetworkService --lang=en-US --log-file="D:\Software\cef\cef_binary_75.0.6\tests\cefclient\Release\debug.log" --disable-gpu-shader-disk-cache


Is anyone else able to reproduce the issue?
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1292
Joined: Wed Jan 14, 2015 2:35 am

Re: CefFrame::GetIdentifier diff between browser/render proc

Postby magreenblatt » Sun Jun 16, 2019 6:22 am

Please add a bug.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: CefFrame::GetIdentifier diff between browser/render proc

Postby salvadordf » Sun Jun 16, 2019 6:28 am

amaitland wrote:Is anyone else able to reproduce the issue?


I just modified one of my demos in Delphi and I also get different frame IDs and different amount of IDs.
Youtube gives 2 IDs if I get them in the browser process and only one and different from the rest in the render process.

I tested this using CEF 75.0.7
Maintainer of the CEF4Delphi, WebView4Delphi, WebUI4Delphi and WebUI4CSharp projects.
User avatar
salvadordf
Expert
 
Posts: 129
Joined: Sun Dec 18, 2016 8:39 am
Location: Spain

Re: CefFrame::GetIdentifier diff between browser/render proc

Postby amaitland » Sun Jun 16, 2019 6:31 am

Thanks for confirming, greatly appreciated.

Will open bug tomorrow.
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1292
Joined: Wed Jan 14, 2015 2:35 am

Re: CefFrame::GetIdentifier diff between browser/render proc

Postby amaitland » Mon Jun 17, 2019 2:24 am

Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1292
Joined: Wed Jan 14, 2015 2:35 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 89 guests