aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
diff options
context:
space:
mode:
Diffstat (limited to 'components/script')
-rw-r--r--components/script/dom/htmlselectelement.rs2
-rw-r--r--components/script/dom/webidls/HTMLSelectElement.webidl2
2 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/htmlselectelement.rs b/components/script/dom/htmlselectelement.rs
index 4e28f61c92e..6245b25daa3 100644
--- a/components/script/dom/htmlselectelement.rs
+++ b/components/script/dom/htmlselectelement.rs
@@ -62,7 +62,7 @@ impl HTMLSelectElementMethods for HTMLSelectElement {
ValidityState::new(window.r())
}
- // Note: this function currently only exists for test_union.html.
+ // Note: this function currently only exists for union.html.
// https://html.spec.whatwg.org/multipage/#dom-select-add
fn Add(&self, _element: HTMLOptionElementOrHTMLOptGroupElement, _before: Option<HTMLElementOrLong>) {
}
diff --git a/components/script/dom/webidls/HTMLSelectElement.webidl b/components/script/dom/webidls/HTMLSelectElement.webidl
index d57a710e362..276674316df 100644
--- a/components/script/dom/webidls/HTMLSelectElement.webidl
+++ b/components/script/dom/webidls/HTMLSelectElement.webidl
@@ -19,7 +19,7 @@ interface HTMLSelectElement : HTMLElement {
// attribute unsigned long length;
//getter Element? item(unsigned long index);
//HTMLOptionElement? namedItem(DOMString name);
- // Note: this function currently only exists for test_union.html.
+ // Note: this function currently only exists for union.html.
void add((HTMLOptionElement or HTMLOptGroupElement) element, optional (HTMLElement or long)? before = null);
//void remove(); // ChildNode overload
//void remove(long index);