New issue
Advanced search Search tips

Issue 895843 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Nov 13
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 2
Type: Bug

Blocking:
issue 860285



Sign in to add a comment

Autofill upload event doesn’t work on triggering for the first time after fresh install

Project Member Reported by rakurati@chromium.org, Oct 16

Issue description

App Version: 72.0.3578.9 Beta
iOS Version: 10.3.3, 11.4.1, 12.0, 12.1 beta
Device: iPhone, iPad

Steps to reproduce:
1. Fresh install and launch chrome
2. Load chrome://histograms/Autofill.UploadEvent in a tab 
3. Load https://dump-truck.appspot.com
4. Submit any form
5. Refresh the tab at step2 and search for UploadEvent
6. Re submit the same form from step 4 
7. Repeat step 5

Observed results:
At step 5: Notice that Autofill.UploadEvent.FormSubmission or Autofill.UploadEvent doesn’t exist
At step 7: Notice that Autofill.UploadEvent.FormSubmission or Autofill.UploadEvent exists and records as 1(=Sent)

Note: Similar behavior is noticed on triggering submit record after clear browsing data

Expected results:
As long as the record is not duplicate the upload throttling should sent the record

Number of times you were able to reproduce: 5/5
Bug reproducible after clean install: Yes
Bug reproducible after clearing cache and cookies: Yes
Bug reproducible on Chrome Mobile on Android: Not tested
Bug reproducible on Safari/Firefox: Firefox: No, Safari: No
Bug reproducible on current stable build (App Version, iOS Version): NA on M69
Bug reproducible on the current beta channel build (App Version, iOS Version):No on M70 Beta, Yes on M71 Beta (Feature available from M71)

Link to video:
https://drive.google.com/file/d/1pIzMCFMTMMegkwxVxRKIvC9a4E2wdPsk/view?usp=sharing

 
Owner: rogerm@chromium.org
Status: Started (was: Untriaged)
Thanks for the report.

Does the test from fresh install starts with no cc/address autofill data saved?

I understand the flow of the repro steps as follow, with some steps having additional annotations to describe the autofill state:

1. Fresh install and launch Chrome

  At this point, there is not Autofill data saved to the Chrome profile.

2. Load chrome://histograms/Autofill.UploadEvent in a tab 
3. Load https://dump-truck.appspot.com
4. Submit any form

  At this point, Autofill is able to save address/CC data for the first
  time. These is no upload triggered here because at the time of submit,
  there was no data upon which to base votes. So, no upload event metric
  is recorded.

5. Refresh the tab at step2 and search for UploadEvent

  This will be empty, because no upload was triggered in step 4.

6. Re submit the same form from step 4 

  Upon resubmission of the same data from step 4, Chrome can observe that
  the submitted data matches its known data and generate a vote. This will
  be the first vote sent. Metrics will be recorded.

7. Repeat step 5

  You now see the metrics recorded in step 6.


If the test scenario is starting with no autofill data, then this is working as intended and is reproducible as described above (in particular, I reproduced this on desktop).


Please confirm the scenario you were using.
Yes the scenario mentioned in comment#1 is correct and also test scenario is started with no autofill data.
Status: WontFix (was: Started)
Thanks. Then this is WAI.

Sign in to add a comment