Makes setting negative values to maxLength throw an IndexSize exception

This commit is contained in:
Sam Gibson 2015-12-02 13:35:05 +11:00
parent 51ca659f8a
commit 9668500e97
7 changed files with 75 additions and 15 deletions

View file

@ -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;