Hi, CEF devs
I have a scenario that I put an WebView on top of the browser's WebContentsView to fully cover it. This WebView works like an overlay view of the browser's WebContentsView and the WebContentsView's visibility is still Visibility::VISIBLE.
I notice that when I inject some javascript in a web page that is running in WebContentsView, the script won't run in a timely manner as it running without this WebView overlay.
And I did a quick test that if the WebView only partially covers the WebContentsView, for example, leave 1 pixel margin to show the WebContentsView, this issue won't happen.
I feel like message pumping or something is deprioritized for the WebContentsView in this case.
Could anyone kindly help me understand what is happening here in this case and how I can solve it?
Thanks,
Yvonne