diff options
author | Sam Gibson <sam@ifdown.net> | 2015-12-02 13:35:05 +1100 |
---|---|---|
committer | Sam Gibson <sam@ifdown.net> | 2015-12-03 14:00:59 +1100 |
commit | 9668500e97eda6153a9e99da4e6ee665d6a794ff (patch) | |
tree | faa42e4c277c38eae0bfe8ce833b2379aab62d78 /components/script/dom/webidls/HTMLInputElement.webidl | |
parent | 51ca659f8a10e94f37538f5a062d567f89a70951 (diff) | |
download | servo-9668500e97eda6153a9e99da4e6ee665d6a794ff.tar.gz servo-9668500e97eda6153a9e99da4e6ee665d6a794ff.zip |
Makes setting negative values to maxLength throw an IndexSize exception
Diffstat (limited to 'components/script/dom/webidls/HTMLInputElement.webidl')
-rw-r--r-- | components/script/dom/webidls/HTMLInputElement.webidl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/webidls/HTMLInputElement.webidl b/components/script/dom/webidls/HTMLInputElement.webidl index b2b7992f5e0..274a10ce957 100644 --- a/components/script/dom/webidls/HTMLInputElement.webidl +++ b/components/script/dom/webidls/HTMLInputElement.webidl @@ -25,6 +25,7 @@ interface HTMLInputElement : HTMLElement { // attribute DOMString inputMode; //readonly attribute HTMLElement? list; // attribute DOMString max; + [SetterThrows] attribute long maxLength; // attribute DOMString min; // attribute long minLength; |