[Webkit-unassigned] [Bug 58191] Use console.log() instead of alert() in unload handlers in tests

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Apr 10 09:07:00 PDT 2011


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





--- Comment #5 from Sreeram Ramachandran <sreeram at google.com>  2011-04-10 09:07:00 PST ---
(In reply to comment #4)
> This will have a negative impact on the tests, because you can see an alert when opening a test in browser manually, but you can't see console log at all (it's cleared after navigation).
> 
> We prefer tests that can be debugged interactively whenever possible.

Agreed. Is there something better than console.log (and as easy to use, i.e., just a simple function call)? Perhaps we can make the console output persist across navigations? I don't see why not (Developer Tools recently added the ability to preserve the network waterfall across navigations as well, for example).

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