Description[bindings] Avoid using custom binding for HTMLOptionsCollection.length attribute
As per the specification, https://html.spec.whatwg.org/#the-htmloptionscollection-interface,
there is no exception throwing mechanism defined when negative values are passed. In such case
we should just ignore the values and avoid using the custom binding for such usage.
Trying to set any value greater than 10000 will be ignored with the existing
length unchanged.
BUG=345519
R=haraken@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200819
Patch Set 1 #Patch Set 2 : #
Total comments: 2
Patch Set 3 : Aligned with maxSelectedItems value #
Total comments: 1
Patch Set 4 : Added new test #
Total comments: 1
Patch Set 5 : Review comments addressed! #Patch Set 6 : Missed to fix the test case! #
Created: 5 years, 4 months ago
Messages
Total messages: 32 (7 generated)
|