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

Issue 214823011: Autofill/rAc: dispatch "input"/"change" on <input>, <textarea>, and <select> (Closed)

Created:
6 years, 9 months ago by Dan Beam
Modified:
6 years, 8 months ago
Reviewers:
Ilya Sherman
CC:
chromium-reviews, benquan, jam, browser-components-watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, Dane Wallinga, dyu1, estade+watch_chromium.org, Ilya Sherman, rouslan+autofillwatch_chromium.org
Visibility:
Public.

Description

Autofill/rAc: dispatch "input"/"change" on <input>, <textarea>, and <select> elements when autofilled. This more closely matches the spec behavior[1]: """ When the user agent is to change an input element's value on behalf of the user (e.g. as part of a form prefilling feature), the user agent must queue a task to first update the value accordingly, then fire a simple event that bubbles named input at the input element, then fire a simple event that bubbles named change at the input element. """ BUG=353691, 354257 R=isherman@chromium.org [1] http://www.whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html#event-input-input Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260474

Patch Set 1 : squash a lil' bug #

Total comments: 2

Patch Set 2 : simpler #

Total comments: 13

Patch Set 3 : isherman@ review #

Patch Set 4 : d'oh #

Unified diffs Side-by-side diffs Delta from patch set Stats (+177 lines, -54 lines) Patch
M chrome/browser/autofill/autofill_interactive_uitest.cc View 1 2 8 chunks +161 lines, -22 lines 0 comments Download
M components/autofill/content/renderer/form_autofill_util.cc View 1 2 3 1 chunk +9 lines, -12 lines 0 comments Download
M components/autofill/content/renderer/form_cache.cc View 1 2 chunks +2 lines, -5 lines 0 comments Download
M components/autofill/content/renderer/password_autofill_agent.cc View 1 4 chunks +5 lines, -15 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Dan Beam
depends on https://codereview.chromium.org/215903003/
6 years, 9 months ago (2014-03-28 01:38:25 UTC) #1
Ilya Sherman
Didn't look closely because your repo is out-of-date. Please sync and rebase, then I'll take ...
6 years, 8 months ago (2014-03-28 21:12:44 UTC) #2
Dan Beam
https://codereview.chromium.org/214823011/diff/40001/components/autofill/content/renderer/form_autofill_util.cc File components/autofill/content/renderer/form_autofill_util.cc (right): https://codereview.chromium.org/214823011/diff/40001/components/autofill/content/renderer/form_autofill_util.cc#newcode549 components/autofill/content/renderer/form_autofill_util.cc:549: field->setValue(data.value, true); On 2014/03/28 21:12:44, Ilya Sherman wrote: > ...
6 years, 8 months ago (2014-03-28 23:03:57 UTC) #3
Ilya Sherman
https://codereview.chromium.org/214823011/diff/80001/chrome/browser/autofill/autofill_interactive_uitest.cc File chrome/browser/autofill/autofill_interactive_uitest.cc (right): https://codereview.chromium.org/214823011/diff/80001/chrome/browser/autofill/autofill_interactive_uitest.cc#newcode493 chrome/browser/autofill/autofill_interactive_uitest.cc:493: IN_PROC_BROWSER_TEST_F(AutofillInteractiveTest, OnChangeAfterAutofill) { Could you also add a test ...
6 years, 8 months ago (2014-03-29 00:07:06 UTC) #4
Dan Beam
https://codereview.chromium.org/214823011/diff/80001/chrome/browser/autofill/autofill_interactive_uitest.cc File chrome/browser/autofill/autofill_interactive_uitest.cc (right): https://codereview.chromium.org/214823011/diff/80001/chrome/browser/autofill/autofill_interactive_uitest.cc#newcode493 chrome/browser/autofill/autofill_interactive_uitest.cc:493: IN_PROC_BROWSER_TEST_F(AutofillInteractiveTest, OnChangeAfterAutofill) { On 2014/03/29 00:07:07, Ilya Sherman wrote: ...
6 years, 8 months ago (2014-03-29 00:51:14 UTC) #5
Ilya Sherman
I see, thanks for 'splainin' stuff. LGTM.
6 years, 8 months ago (2014-03-29 00:58:19 UTC) #6
Ilya Sherman
The CQ bit was checked by isherman@chromium.org
6 years, 8 months ago (2014-03-29 00:58:24 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dbeam@chromium.org/214823011/100001
6 years, 8 months ago (2014-03-29 00:59:53 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-03-29 02:27:24 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_rel
6 years, 8 months ago (2014-03-29 02:27:25 UTC) #10
Dan Beam
the tests are failing because this blink rev [1] needs to be rolled in first. ...
6 years, 8 months ago (2014-03-29 04:27:15 UTC) #11
Dan Beam
The CQ bit was checked by dbeam@chromium.org
6 years, 8 months ago (2014-03-30 22:00:57 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dbeam@chromium.org/214823011/110001
6 years, 8 months ago (2014-03-30 22:01:07 UTC) #13
commit-bot: I haz the power
6 years, 8 months ago (2014-03-31 00:43:12 UTC) #14
Message was sent while issue was closed.
Change committed as 260474

Powered by Google App Engine
This is Rietveld 408576698