[webkit-qt] JavaScript window.onbeforeunload event not appearing
Bruning Michael
Michael.Bruning at digia.com
Thu Mar 28 03:07:42 PDT 2013
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
More information about the webkit-qt
mailing list