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

Unified Diff: core/events/AutocompleteErrorEvent.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 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 | « core/events/ApplicationCacheErrorEventInit.idl ('k') | core/events/AutocompleteErrorEventInit.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/events/AutocompleteErrorEvent.idl
diff --git a/core/events/AutocompleteErrorEvent.idl b/core/events/AutocompleteErrorEvent.idl
index 865d62e74698dc1fe2a8f0c250800be685e1f508..a65f1eed98361bc8630d2e57c88dc1bf84a785ec 100644
--- a/core/events/AutocompleteErrorEvent.idl
+++ b/core/events/AutocompleteErrorEvent.idl
@@ -22,9 +22,12 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// https://html.spec.whatwg.org/multipage/forms.html#the-autocompleteerrorevent-interface
+
+enum AutocompleteErrorReason { "" /* empty string */, "cancel", "disabled", "invalid" };
+
[
- EventConstructor,
+ Constructor(DOMString type, optional AutocompleteErrorEventInit eventInitDict),
] interface AutocompleteErrorEvent : Event {
- [InitializedByEventConstructor] readonly attribute DOMString reason;
+ readonly attribute AutocompleteErrorReason reason;
};
-
« no previous file with comments | « core/events/ApplicationCacheErrorEventInit.idl ('k') | core/events/AutocompleteErrorEventInit.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698