[Webkit-unassigned] [Bug 30324] Console shows no repeat count when repeatedly logging an Event

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 26 09:06:48 PDT 2009


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





--- Comment #12 from Pavel Feldman <pfeldman at chromium.org>  2009-10-26 09:06:48 PDT ---
(In reply to comment #11)
> Seems to pass the manual tests so I'm trying to add an automated test.
> 
> I want to execute a command in the console so I tried something like this but
> it doesn't seem to give me the results I'm looking for. Is there a proper way
> to do this?
> 
> https://gist.github.com/75074e73fa7d2bb0bec3

You don't need to eval console.log in console - evaluating 1+1 would be enough
to cause the interrupting output. What you should do is:

1. introduce a function that does console.log call
2. call it in doIt
3. evaluate dumpMessages in frontend
4. make dumpMessages issue some console command as you do
5. in the callback to dumpMessages call your function containting console.log
again
6. dump messages again to see if interrupt has been processed well.

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