Does the embedded content's beforeunload not fire when closing the window?


#1

It seems that the docs recommend sticking a window.onbeforeunload handler in the page that has the webview to cancel the beforeunload event. I noticed that thewindow.onbeforeunload handler in the embedded page (inside the webview) never gets triggered.

I just wanted to confirm that that is in fact intentional and beforeunload and unload won’t fire for the embedded webpage. Is that correct?