[Webkit-unassigned] [Bug 28903] Web Inspector turns empty on selection

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 18 07:59:03 PDT 2009


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





--- Comment #23 from Patrick Mueller <pmuellr at yahoo.com>  2009-09-18 07:59:03 PDT ---
At this point, it appears to me that there are no exceptions occurring, it's
just that the DOM elements are not added to the content view, so you get the
big white window.  The treeoutline for the elements is actually all set up, it
just has no children.

Tracing through this, it appears the cause is that during an
ElementPanels.reset() call, InspectorController.isWindowVisible() is returning
false, which causes an early return from reset(); if allowed to continue,
everything seems to work ok.

Need to figure out who added that check.  Is it just an optimization?  if so,
we can just remove the check; if we really shouldn't proceed at this point,
perhaps we should queue an event to run the reset again in a short while, in
hopes that the window does become visible.  Or perhaps there is a way to get
hooked to a "window is now visible" event.  Or perhaps isWindowVisible() is
incorrectly returning false at this point.

There is a big timing difference between the first and second runs of the
scenario i'm testing; the first run, which works, does all the panel setup and
what-not.  The second run does not.  This may mean that the window becomes
visible during all that setup time, whereas in the second run, with less work
to do, the window is in fact not visible.

-- 
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