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

Unified Diff: Source/core/html/HTMLObjectElement.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/HTMLObjectElement.idl
diff --git a/Source/core/html/HTMLObjectElement.idl b/Source/core/html/HTMLObjectElement.idl
index cd064f4b286cf3538ce5bdc083f3348308f5c740..730414f5008309ede2f1b240f7172d4d3e47f180 100644
--- a/Source/core/html/HTMLObjectElement.idl
+++ b/Source/core/html/HTMLObjectElement.idl
@@ -42,8 +42,7 @@
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);
// TODO(philipj): legacycaller any (any... arguments); crbug.com/465009

Powered by Google App Engine
This is Rietveld 408576698