[Webkit-unassigned] [Bug 19392] [Gtk] Enable WebInspector in the Gtk port

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 14 05:17:23 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=19392





------- Comment #4 from arenevier at fdn.fr  2008-07-14 05:17 PDT -------
I tried your patch, and it's nice to have inspector with gtk :)

 But there is a problem with m_webView. When inspector window is closed, it's
inner Page object is deleted, but m_webView is not reset. That causes multiple
problems:

 go to a web page, open inspector, close inspector, open inspector, inspector
won't open.

 That's because in InspectorClient::createPage
 +    if (m_webView)
 +      return core(m_webView);
 will return a reference to a deleted page.

Also, launching GtkLauncher, opening inspector, and closing GtkLauncher will
result in a crash in InspectorClient::closeWindow at line 

+ g_signal_emit_by_name(GTK_WIDGET(m_webView), "delete-event");


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list