Users of the wxWebView API cannot catch or veto events for alerts and prompts from Javascript, or for window object cleared events.
Created attachment 29091 [details] add wxWebView events for JS prompts, alerts, and window object clears
Landed in r42122, thanks! :)