Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1093)

Unified Diff: Source/core/html/HTMLButtonElement.idl

Issue 1220833002: Make the setCustomValidity() error argument not nullable (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/html/HTMLButtonElement.idl
diff --git a/Source/core/html/HTMLButtonElement.idl b/Source/core/html/HTMLButtonElement.idl
index 3509851e990ed497da7b1d9802ef21ca2a1a4724..6ab20ee99aa5ea06bb9e092c98529a4c26bb44dd 100644
--- a/Source/core/html/HTMLButtonElement.idl
+++ b/Source/core/html/HTMLButtonElement.idl
@@ -39,8 +39,7 @@ interface HTMLButtonElement : HTMLElement {
readonly attribute DOMString validationMessage;
boolean checkValidity();
boolean reportValidity();
- // FIXME: The error argument should not be nullable.
- void setCustomValidity([TreatUndefinedAs=NullString] DOMString? error);
+ void setCustomValidity(DOMString error);
readonly attribute NodeList labels;
};
« no previous file with comments | « LayoutTests/fast/forms/ValidityState-customError-expected.txt ('k') | Source/core/html/HTMLFieldSetElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698