DescriptionHTMLOptionsCollection remove() argument should be long, not unsigned long
As per spec link:
https://html.spec.whatwg.org/#the-htmloptionscollection-interface,
HTMLOptionsCollection remove() api argument should be
long, not unsigned long
This change cannot be tested since, we can only test with a
small number of options (certainly less than two billion)
and the difference is only observable around INT_MAX and
INT_MIN, also return value of remove() is always void, it
does not throw any exception. Implementation for remove()
is already using int.
BUG=496400
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=198149
Patch Set 1 #
Total comments: 2
Patch Set 2 : #Patch Set 3 : #
Messages
Total messages: 13 (2 generated)
|