From dfd072715337f8029ea51a67ea18cc1c942ab384 Mon Sep 17 00:00:00 2001 From: nturgut Date: Fri, 10 Jul 2020 13:58:19 -0700 Subject: [PATCH] don't throw error for the new autofill request (#19633) * don't throw error for the new autofill request * change comment --- lib/web_ui/lib/src/engine/text_editing/text_editing.dart | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/web_ui/lib/src/engine/text_editing/text_editing.dart b/lib/web_ui/lib/src/engine/text_editing/text_editing.dart index 0289429eebada..fdda61bc8cd27 100644 --- a/lib/web_ui/lib/src/engine/text_editing/text_editing.dart +++ b/lib/web_ui/lib/src/engine/text_editing/text_editing.dart @@ -1152,6 +1152,11 @@ class TextEditingChannel { // Since autofill UI is a part of the browser, web engine does not need to utilize this method. break; + case 'TextInput.finishAutofillContext': + // TODO(nurhan): Handle saving autofill information on web. + // https://github.com/flutter/flutter/issues/59378 + break; + default: throw StateError( 'Unsupported method call on the flutter/textinput channel: ${call.method}');