[Webkit-unassigned] [Bug 29142] timing issue with calling the InjectedScript stuff early

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 11 19:44:15 PDT 2009


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





--- Comment #5 from Patrick Mueller <pmuellr at yahoo.com>  2009-09-11 19:44:16 PDT ---
(In reply to comment #4)
> Do you know where you are calling it early?

Since this was in bring-up code, was a bit difficult to tell what was going on.
 I believe I put a logging statement in WatchExpressionsSidebarPane.js, in the
appendResult() callback inside WatchExpressionsSection.prototype.update().  I
could see WebInspector.console._evalInInspectedWindow() was getting called, but
the callback never got invoked.

The reason this is being called early is that the Watch Expressions were
attempting to be evaluated so they could be displayed immediately as the
Scripts panel was open.  To work around this, the Watch Expressions pane is now
always not-expanded when the Scripts panel open, and expanding the section
causes an explicit refresh, so there's a built-in human-based delay.

Fine for now, but it still seems to me that we need an event when the
InspectedScript stuff is ready, or it needs to queue up requests and act on
them when it becomes ready.

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