HI!
I have a suspicion, that objects are registered correctly with RegisterJsObject() only for the first window.
To create a simple test, I modified CefSharp.WinForms.Example\Handlers\LifeSpanHandler.cs and added
chromiumBrowser.RegisterJsObject("TEST", new Object());
immidiately after the ChromiumWebBrowser is created.
Now, when I open a page which opens a popup, the popup opens correctly, but does not seem to have the TEST object. The same approach works ok for the first/main window.
Am I doing something wrong, or could there be a bug?
regards,
Kaido