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

Unified Diff: Source/core/html/HTMLOutputElement.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/HTMLOutputElement.idl
diff --git a/Source/core/html/HTMLOutputElement.idl b/Source/core/html/HTMLOutputElement.idl
index 99cca3f03bbfe7415adb8e3a0f1c79b8a421908e..16fe1ed5cc0b5d19dc86d89794c2370fbb9381fa 100644
--- a/Source/core/html/HTMLOutputElement.idl
+++ b/Source/core/html/HTMLOutputElement.idl
@@ -38,8 +38,7 @@ interface HTMLOutputElement : HTMLElement {
readonly attribute DOMString validationMessage;
boolean checkValidity();
boolean reportValidity();
- // TODO(philipj): The error argument should not be nullable.
- void setCustomValidity([TreatUndefinedAs=NullString] DOMString? error);
+ void setCustomValidity(DOMString? error);
readonly attribute NodeList labels;
};

Powered by Google App Engine
This is Rietveld 408576698