aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/HTMLInputElement.webidl
diff options
context:
space:
mode:
authorKagami Sascha Rosylight <saschanaz@outlook.com>2022-01-05 03:39:33 +0100
committerKagami Sascha Rosylight <saschanaz@outlook.com>2022-01-05 03:39:33 +0100
commit52ea5204a23d8cc9d40ac3e9eb4fd9e03c1cd1ca (patch)
treeff222506f529fb20f148b634161a10244fd2a7ec /components/script/dom/webidls/HTMLInputElement.webidl
parent5df705a41f6c4c1f2ffeec257dfe0129ce5fa8e0 (diff)
downloadservo-52ea5204a23d8cc9d40ac3e9eb4fd9e03c1cd1ca.tar.gz
servo-52ea5204a23d8cc9d40ac3e9eb4fd9e03c1cd1ca.zip
Convert Web IDL void to undefined
Fixes #27660
Diffstat (limited to 'components/script/dom/webidls/HTMLInputElement.webidl')
-rw-r--r--components/script/dom/webidls/HTMLInputElement.webidl16
1 files changed, 8 insertions, 8 deletions
diff --git a/components/script/dom/webidls/HTMLInputElement.webidl b/components/script/dom/webidls/HTMLInputElement.webidl
index 6b8c557e83d..3c9f2516717 100644
--- a/components/script/dom/webidls/HTMLInputElement.webidl
+++ b/components/script/dom/webidls/HTMLInputElement.webidl
@@ -79,19 +79,19 @@ interface HTMLInputElement : HTMLElement {
// [CEReactions]
// attribute unsigned long width;
- [Throws] void stepUp(optional long n = 1);
- [Throws] void stepDown(optional long n = 1);
+ [Throws] undefined stepUp(optional long n = 1);
+ [Throws] undefined stepDown(optional long n = 1);
readonly attribute boolean willValidate;
readonly attribute ValidityState validity;
readonly attribute DOMString validationMessage;
boolean checkValidity();
boolean reportValidity();
- void setCustomValidity(DOMString error);
+ undefined setCustomValidity(DOMString error);
readonly attribute NodeList? labels;
- void select();
+ undefined select();
[SetterThrows]
attribute unsigned long? selectionStart;
[SetterThrows]
@@ -99,18 +99,18 @@ interface HTMLInputElement : HTMLElement {
[SetterThrows]
attribute DOMString? selectionDirection;
[Throws]
- void setRangeText(DOMString replacement);
+ undefined setRangeText(DOMString replacement);
[Throws]
- void setRangeText(DOMString replacement, unsigned long start, unsigned long end,
+ undefined setRangeText(DOMString replacement, unsigned long start, unsigned long end,
optional SelectionMode selectionMode = "preserve");
[Throws]
- void setSelectionRange(unsigned long start, unsigned long end, optional DOMString direction);
+ undefined setSelectionRange(unsigned long start, unsigned long end, optional DOMString direction);
// also has obsolete members
// Select with file-system paths for testing purpose
[Pref="dom.testing.htmlinputelement.select_files.enabled"]
- void selectFiles(sequence<DOMString> path);
+ undefined selectFiles(sequence<DOMString> path);
};
// https://html.spec.whatwg.org/multipage/#HTMLInputElement-partial