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

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, 6 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..f3c5787d937ba6569c0cb8e2a3c8bda27a571f34 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);
philipj_slow 2015/07/02 09:53:00 You should also remove the "?", that's what makes
readonly attribute NodeList labels;
};

Powered by Google App Engine
This is Rietveld 408576698