[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 Review URL: https://codereview.chromium.org/1292653003 git-svn-id: svn://svn.chromium.org/blink/trunk@200819 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment