New issue
Advanced search Search tips

Issue 775016 link

Starred by 1 user

Issue metadata

Status: Started
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac , Fuchsia
Pri: 3
Type: Task



Sign in to add a comment

Don't add passwords through navigation, add them directly to the TestPasswordStore instead.

Reported by nikhil.s...@samsung.com, Oct 16 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Steps to reproduce the problem:
1. In file password_manager_browsertest.cc password is added
through navigation in CrossSiteIframeNotFillTest test.

What is the expected behavior?
As Navigation slows the test down and can introduce sources of failure unrelated to the tested property , password should be
added directly to the TestPasswordStore and not through navigation.

What went wrong?
Password is added through navigation

Did this work before? No 

Chrome version: <Copy from: 'about:version'>  Channel: stable
OS Version: 
Flash Version:
 
Labels: Needs-Triage-M61
Please provide a reproducible testcase for further triaging.

Comment 2 by vabr@chromium.org, Oct 17 2017

Components: UI>Browser>Passwords
Labels: -Type-Bug -Pri-2 -Via-Wizard-Other -Needs-Triage-M61 Hotlist-TechnicalDebt Hotlist-Refactoring OS-Android OS-Chrome OS-Fuchsia OS-Mac OS-Windows Pri-3 Type-Task
Status: Available (was: Unconfirmed)
Thanks, Nikhil, for filing the ticket, and sorry, ligimole@, if it was confusing. This is not a bug report, it's a code health task my team needs to fix at some point. Changing labels accordingly.

Comment 3 by vabr@chromium.org, Oct 17 2017

(Also for the record, https://chromium-review.googlesource.com/c/chromium/src/+/704435 is the change which prompted this ticket and contains more background.)
I am working to correct this as well.

Comment 5 by vabr@chromium.org, Oct 23 2017

Status: Started (was: Available)
Marking accordingly to #4.
Project Member

Comment 6 by bugdroid1@chromium.org, Oct 24 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/e5c2c2d1532db356a93ee1e65dd56132215d7168

commit e5c2c2d1532db356a93ee1e65dd56132215d7168
Author: nikhil <nikhil.sahni@samsung.com>
Date: Tue Oct 24 12:35:13 2017

Password should be added using TestPasswordStore.

Adding password through navigation slows the test down and can introduce
sources of failure unrelated to the tested property. It should use
TestPasswordStore instead of navigation.

BUG=775016

Change-Id: I0dcb20b2e5324b301e0071744b501305b7ba9185
Reviewed-on: https://chromium-review.googlesource.com/732808
Reviewed-by: Vaclav Brozek <vabr@chromium.org>
Reviewed-by: Shanmuga Pandi <shanmuga.m@samsung.com>
Commit-Queue: srirama chandra sekhar <srirama.m@samsung.com>
Cr-Commit-Position: refs/heads/master@{#511116}
[modify] https://crrev.com/e5c2c2d1532db356a93ee1e65dd56132215d7168/chrome/browser/password_manager/password_manager_browsertest.cc

Sign in to add a comment