[Webkit-unassigned] [Bug 50744] [GTK] Insta-crash when closing browser with inspector window opened

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 26 04:19:56 PST 2011


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


Sergio Villar Senin <svillar at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |svillar at igalia.com




--- Comment #1 from Sergio Villar Senin <svillar at igalia.com>  2011-01-26 04:19:56 PST ---
After investigating this a bit and discussing it with Yury as well, it seems that the ASSERT is triggered because we reuse the frontend page. The inspector controller does not intentionally allow to set a client more than once because the code assumes that the inspector window is closed when no longer used. This means that we should recreate the frontend page, the inspector controller and so on, everytime openInspectorFrontend is called.

The problem is caused because ephypany does not really destroy the inspector window. Instead it hides it and reuses the created instance.

So basically we have 2 options:
   * ensure that the frontend page is destroyed when the inspector is closed
   * change epy code to destroy the inspector window

IMHO the approach of emitting a "close-window" and let the client decide what to do with the windows is incorrect. We must unconditionally close it in InspectorClientGtk as the inspector code assumes that.

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



More information about the webkit-unassigned mailing list