[Webkit-unassigned] [Bug 56397] Suppress modal JavaScript/HTML dialogs during unload events

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Apr 10 09:16:48 PDT 2011


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





--- Comment #14 from Sreeram Ramachandran <sreeram at google.com>  2011-04-10 09:16:47 PST ---
(In reply to comment #13)
> (In reply to comment #12)
> > One case where this change would be a problem is for people trying to debug their JavaScript code with alerts.
> 
> That's a fair point. I think most cases where you'd want this could be addressed by adding a "debugger;" line and breaking in the debugger.

Agreed. Easier than a debugger is console.log() which is as easy as alert(), especially if we can persist the console output across navigations. It's not as portable as alert(), however it does have an advantage over alert(): It doesn't steal the focus, which is very handy if you are trying to debug something in onblur(), 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