void RenderProcessHandler_OnUncaughtException(object sender, CfrOnUncaughtExceptionEventArgs e) { var wb = e.Browser; if (wb != null) { } }
void RenderProcessHandler_OnUncaughtException(object sender, CfrOnUncaughtExceptionEventArgs e) { var wb = HtmlUILauncher.GetBrowser(e.Browser.Identifier); if (wb != null) { } }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { var self = (CfrRenderProcessHandler)System.Runtime.InteropServices.GCHandle.FromIntPtr(gcHandlePtr).Target; if (self == null || self.CallbacksDisabled) { return; } var e = new CfrOnUncaughtExceptionEventArgs(this); self.m_OnUncaughtException?.Invoke(self, e); e.m_isInvalid = true; browser_release = e.m_browser_wrapped == null? 1 : 0; frame_release = e.m_frame_wrapped == null? 1 : 0; context_release = e.m_context_wrapped == null? 1 : 0; exception_release = e.m_exception_wrapped == null? 1 : 0; stackTrace_release = e.m_stackTrace_wrapped == null? 1 : 0; }