DescriptionPrevent overlay enter events from executing two buttons.
If the focus before opening an overlay was on a button, the overlay
will restore focus to that button when the overlay closes. If the
cause of the overlay closing was executing a default button via the
document handler, the newly focused button would then execute
immediately via the same event. This CL prevents that from
happening by calling preventDefualt() after executing the defualt
button.
BUG=268336
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=215826
Patch Set 1 #Patch Set 2 : Added test #
Total comments: 2
Patch Set 3 : More comments #
Messages
Total messages: 9 (0 generated)
|