Hi Stan,

On Wednesday, 27th March 2013 04:55 PM, Stan Pensak wrote:
> 
> Sorry, to correct what I said about debugging earlier: it is 
> FrameLoader::fireBeforeUnloadEvent() that is being successfully called, but 
> still, nobody is listening to the event (by the time this gets to 
> EventTarget::fireEventListeners()
> I see there that the listener map is empty.
> 
I just tried with a couple of example pages (with qt4.8.4 / fancybrowser demo) 
and the onbeforunload event worked when navigating to another page. Are you 
using custom patches on top of 4.8.4 WebKit maybe?

I was however able to reproduce it not working when closing the window. 
> 
>Stan
 Cheers,
Michael
_______________________________________________
webkit-qt mailing list
webkit-qt@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-qt

Reply via email to