[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
Thu Jun 2 15:10:28 PDT 2011


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





--- Comment #16 from Ryosuke Niwa <rniwa at webkit.org>  2011-06-02 15:10:28 PST ---
(In reply to comment #15)
> Developers can still put a "debugger;" line in their beforeunload/unload handlers and break into the debugger. Is that not sufficient?

Mn... I'd imagine that's much harder to do than just inserting alerts.  Like I would be annoyed if I had to attach a breakpoint just to see if my function is called when I can just insert alert in other browsers.  Also, that means people need to do different things to debug on Chromium and other browsers.

But then I do understand that fixing the bug 56397 will benefit ordinary users.  I guess I'm just not sure if that's a good trade off or not.  I'm also afraid that if we fix the bug 56397 first, then we end up not doing persistent alert thing because that's much harder to do and there's very little incentive to implement it.

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