Hi, working with a build of Qt 4.8.4, our JavaScript developers have complained 
that their code does not receive unload events (they're using dojo.addOnUnload 
but I know that this is triggered from window.onbeforeunload), when we destroy 
a QWebView, or even when we change its URL.  I have debugged a little and it 
looks like events are being dispatched from FrameLoader::stopLoading(), which 
itself is called from FrameLoader::closeURL(), but nobody is listening to them 
to pass them on to JavaScript.

In comparison, the Chrome and Safari browsers on my Windows system do 
successfully invoke the dojo.addOnUnload callbacks.

Is this a known issue?

Thanks,
Stan Pensak
_______________________________________________
webkit-qt mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-qt

Reply via email to