We are using the JCEF version 4147 and one of our customer has sproadic problems with calling the callback window.cefClient.
The callback function window.cefClient cannot be called or is not attached to the window sporadically in the javascript content.
Unfortunately we don't know why this problem occurs and how to find out what happens to this callback function in the situation where the callback call fails.
Following error occurs:
- Code: Select all
INFO:CONSOLE(74)] "Uncaught TypeError: window.cefQuery is not a function"
I have already looked in the JCEF forum and found the following two entries (viewtopic.php?f=17&t=14380 and https://magpcss.org/ceforum/viewtopic.php?f=6&t=17511),
where it is explained that there might be needed some changes in the JCEF code.
However we don't even know what the real problem ist, and why the callback function cannot be called sometimes.
Any clue how to find out why sometimes the callback function is not found and how to fix it?
Is there any possibility to get more info in the javascript context, to get to know why this problem occurs sporadically?
Are there any planned/known transition periods, in which this window.cefQuery is not available/callable (navigation or something similar)?
Thanks in advance!