diff options
Diffstat (limited to 'components/script/dom/webidls/HTMLOptionsCollection.webidl')
-rw-r--r-- | components/script/dom/webidls/HTMLOptionsCollection.webidl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/components/script/dom/webidls/HTMLOptionsCollection.webidl b/components/script/dom/webidls/HTMLOptionsCollection.webidl index 73b11779159..91906b785fb 100644 --- a/components/script/dom/webidls/HTMLOptionsCollection.webidl +++ b/components/script/dom/webidls/HTMLOptionsCollection.webidl @@ -1,18 +1,18 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ // https://html.spec.whatwg.org/multipage/#htmloptionscollection +[Exposed=Window] interface HTMLOptionsCollection : HTMLCollection { // inherits item(), namedItem() + [CEReactions] attribute unsigned long length; // shadows inherited length - //[CEReactions] - [Throws] + [CEReactions, Throws] setter void (unsigned long index, HTMLOptionElement? option); - //[CEReactions] - [Throws] + [CEReactions, Throws] void add((HTMLOptionElement or HTMLOptGroupElement) element, optional (HTMLElement or long)? before = null); - //[CEReactions] + [CEReactions] void remove(long index); attribute long selectedIndex; }; |