[Webkit-unassigned] [Bug 31376] WebInspector: Adds test for Timeline EventDispatch record

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 1 08:20:37 PST 2009


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





--- Comment #6 from Eric Ayers <zundel at google.com>  2009-12-01 08:20:36 PST ---
(In reply to comment #5)
> (From update of attachment 44020 [details])
> > +    function step() 
> > +    {
> > +        if (window.eventHandled) {
> > +            printTimelineRecords(null, "EventDispatch");
> > +        } else {
> > +            setTimeout(step, 100);
> > +        }
> > +    }
> > +    setTimeout(step, 100);
> 
> Can we avoid timeout here?

I didn't peek under the covers to see how simulating events was implemented (do
they get fired immediately or put on the event queue?)

I could certainly set the timeout down to a smaller number ('0' ?).   The worst
that could happen is that it would have to try again and end up executing the
way I have it written now.

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