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

Unified Diff: components/autofill/content/renderer/autofill_agent.cc

Issue 318983003: requestAutocomplete: Actually log the console message instead of dropping it on the floor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/content/renderer/autofill_agent.cc
diff --git a/components/autofill/content/renderer/autofill_agent.cc b/components/autofill/content/renderer/autofill_agent.cc
index bfd57318c9f13d512fb7bd52fe1c9eeebd51e093..525bc3fe967181cec42c7503857d3a924417c4b9 100644
--- a/components/autofill/content/renderer/autofill_agent.cc
+++ b/components/autofill/content/renderer/autofill_agent.cc
@@ -293,6 +293,7 @@ void AutofillAgent::didRequestAutocomplete(
WebConsoleMessage::LevelLog,
WebString(base::ASCIIToUTF16("requestAutocomplete: ") +
base::ASCIIToUTF16(error_message)));
+ form.document().frame()->addMessageToConsole(console_message);
WebFormElement(form).finishRequestAutocomplete(
WebFormElement::AutocompleteResultErrorDisabled);
return;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698