DescriptionFix listbox selections with only disabled options.
blink::HTMLSelectElement::updateListBoxSelection relies on that
a list contains at least one item and that the index of any active
selection anchor is a nonnegative integer. However, if we have a
selection with only a disabled option then this assumption and the
checking assertion fail. But since updateListBoxSelection is
aware of such situations we can simply remove the assertion check
and use integers as indices instead of the unsigned variables.
BUG=436454
R=keishi
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=186781
Patch Set 1 #
Total comments: 1
Patch Set 2 : Updated patch #
Messages
Total messages: 12 (3 generated)
|