I am running a web application with JCEF integrated through eclipse SWT.
From client(chromium browser instance) side, I have few javascript functions attached to window namespace as part of scripts loaded into my webapp.
As part of one of the flows,
client posts a well formed query(json string) through winow.cefQuery, Which Java part of the app listens through cefQueryListner. After processing the query, java part of the app executes javascript(functions attached to window namespace of webapp) using executeJavascript API of JCEF.
This works fine when client side query is initiated from parent window.
If I have an iFrame inside my webapp on the client side and cefQuery is initiated from client, after processing the query, when executeJavaScript tries to execute the functions attached to window, those are not defined anymore.
My suspicion is , somehow executeJavaScript is not being executed in correct window context.
CEF Version: 3.1750.1738
CEF URL: http://chromiumembedded.googlecode.com/ ... /cef3@1738
Chromium Verison: 33.0.1750.170
Chromium URL: http://chromiumembedded.googlecode.com/ ... /cef3@1738