summaryrefslogtreecommitdiffstats
path: root/dom/webidl/HTMLSelectElement.webidl
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2020-01-04 21:41:41 -0500
committerGaming4JC <g4jc@hyperbola.info>2020-01-26 15:50:19 -0500
commit3fd2f619496d7c3a2d0a45ed3d44aead22d64c99 (patch)
treeec4bf4c6c92cad41a0d702053f005e9ed6f80399 /dom/webidl/HTMLSelectElement.webidl
parent1674f8f750b650e6d5fe2245f2c9bcfb5de48230 (diff)
downloadUXP-3fd2f619496d7c3a2d0a45ed3d44aead22d64c99.tar
UXP-3fd2f619496d7c3a2d0a45ed3d44aead22d64c99.tar.gz
UXP-3fd2f619496d7c3a2d0a45ed3d44aead22d64c99.tar.lz
UXP-3fd2f619496d7c3a2d0a45ed3d44aead22d64c99.tar.xz
UXP-3fd2f619496d7c3a2d0a45ed3d44aead22d64c99.zip
Bug 1340027 - Part 2: Add HTML CEReactions annotation.
Tag UXP Issue #1344
Diffstat (limited to 'dom/webidl/HTMLSelectElement.webidl')
-rw-r--r--dom/webidl/HTMLSelectElement.webidl22
1 files changed, 12 insertions, 10 deletions
diff --git a/dom/webidl/HTMLSelectElement.webidl b/dom/webidl/HTMLSelectElement.webidl
index 9a9b33040..537e9d84f 100644
--- a/dom/webidl/HTMLSelectElement.webidl
+++ b/dom/webidl/HTMLSelectElement.webidl
@@ -9,21 +9,21 @@
[HTMLConstructor]
interface HTMLSelectElement : HTMLElement {
- [SetterThrows, Pure]
+ [CEReactions, SetterThrows, Pure]
attribute boolean autofocus;
- [Pref="dom.forms.autocomplete.experimental", SetterThrows, Pure]
+ [CEReactions, Pref="dom.forms.autocomplete.experimental", SetterThrows, Pure]
attribute DOMString autocomplete;
- [SetterThrows, Pure]
+ [CEReactions, SetterThrows, Pure]
attribute boolean disabled;
[Pure]
readonly attribute HTMLFormElement? form;
- [SetterThrows, Pure]
+ [CEReactions, SetterThrows, Pure]
attribute boolean multiple;
- [SetterThrows, Pure]
+ [CEReactions, SetterThrows, Pure]
attribute DOMString name;
- [SetterThrows, Pure]
+ [CEReactions, SetterThrows, Pure]
attribute boolean required;
- [SetterThrows, Pure]
+ [CEReactions, SetterThrows, Pure]
attribute unsigned long size;
[Pure]
@@ -31,14 +31,15 @@ interface HTMLSelectElement : HTMLElement {
[Constant]
readonly attribute HTMLOptionsCollection options;
- [SetterThrows, Pure]
+ [CEReactions, SetterThrows, Pure]
attribute unsigned long length;
getter Element? item(unsigned long index);
HTMLOptionElement? namedItem(DOMString name);
- [Throws]
+ [CEReactions, Throws]
void add((HTMLOptionElement or HTMLOptGroupElement) element, optional (HTMLElement or long)? before = null);
+ [CEReactions]
void remove(long index);
- [Throws]
+ [CEReactions, Throws]
setter creator void (unsigned long index, HTMLOptionElement? option);
readonly attribute HTMLCollection selectedOptions;
@@ -57,6 +58,7 @@ interface HTMLSelectElement : HTMLElement {
readonly attribute NodeList labels;
// https://www.w3.org/Bugs/Public/show_bug.cgi?id=20720
+ [CEReactions]
void remove();
};