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

Unified Diff: Source/core/events/AutocompleteErrorEvent.idl

Issue 1167623002: Sync some event interfaces with the HTML spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 7 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
« no previous file with comments | « no previous file | Source/core/events/BeforeUnloadEvent.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/AutocompleteErrorEvent.idl
diff --git a/Source/core/events/AutocompleteErrorEvent.idl b/Source/core/events/AutocompleteErrorEvent.idl
index 7853cb1ec27912c76da083a8f400723cd25ac0c7..a65f1eed98361bc8630d2e57c88dc1bf84a785ec 100644
--- a/Source/core/events/AutocompleteErrorEvent.idl
+++ b/Source/core/events/AutocompleteErrorEvent.idl
@@ -24,9 +24,10 @@
// https://html.spec.whatwg.org/multipage/forms.html#the-autocompleteerrorevent-interface
+enum AutocompleteErrorReason { "" /* empty string */, "cancel", "disabled", "invalid" };
+
[
Constructor(DOMString type, optional AutocompleteErrorEventInit eventInitDict),
] interface AutocompleteErrorEvent : Event {
- readonly attribute DOMString reason;
+ readonly attribute AutocompleteErrorReason reason;
};
-
« no previous file with comments | « no previous file | Source/core/events/BeforeUnloadEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698