[Webkit-unassigned] [Bug 91285] confirm() pauses thread execution but doesn't prevent new, default, events from firing.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jul 14 14:01:15 PDT 2012


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





--- Comment #6 from ryan at ryanalbrecht.ca  2012-07-14 14:01:15 PST ---
I think that replacing the console.error with an alert makes the test invalid. It seems like the dialog stack would surpress the alert() until after the confirm is done, making things appear to work correctly. 

As you can see, i've attached what i hope is a better testcase, using console.group to try to illustrate the execution order a little clearer. 

Also keyup was the wrong event to bind earlier, it gets triggered too late. keydown is what i should've had the first time around.

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