I’m programming a kind of web site crawler.
There is a main page loading the site in a webview: when the page is loaded in the webview, an event is sent from the webview to the host, and the host calls
Here is the actual code of my program in the host page:
After an apparently random number of successfull calls of
dumpSource function is not executed in the webview, but the message “dumpSource called” is visible in the console.
Maybe the call of
ipc.sendToHost in webview that sends the ipc-message to the host?
Maybe it’s a bug?
I know I could replace the call to
webview.send, but I want to understand what’s happening here.(EDIT: done this. Works perfectly.