summaryrefslogtreecommitdiffstats
path: root/dom/webidl/HTMLOptionsCollection.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'dom/webidl/HTMLOptionsCollection.webidl')
-rw-r--r--dom/webidl/HTMLOptionsCollection.webidl9
1 files changed, 5 insertions, 4 deletions
diff --git a/dom/webidl/HTMLOptionsCollection.webidl b/dom/webidl/HTMLOptionsCollection.webidl
index 4d4385d82..d8d1046ad 100644
--- a/dom/webidl/HTMLOptionsCollection.webidl
+++ b/dom/webidl/HTMLOptionsCollection.webidl
@@ -11,13 +11,14 @@
*/
interface HTMLOptionsCollection : HTMLCollection {
+ [CEReactions]
attribute unsigned long length;
- [Throws]
+ [CEReactions, Throws]
setter creator void (unsigned long index, HTMLOptionElement? option);
- [Throws]
+ [CEReactions, Throws]
void add((HTMLOptionElement or HTMLOptGroupElement) element, optional (HTMLElement or long)? before = null);
- [Throws]
+ [CEReactions, Throws]
void remove(long index);
- [Throws]
+ [CEReactions, Throws]
attribute long selectedIndex;
};