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

Issue 2825123003: Remove hasPasswordField from the public __gCrWeb API. (Closed)

Created:
3 years, 8 months ago by danyao
Modified:
3 years, 8 months ago
CC:
chromium-reviews, ios-reviews+chrome_chromium.org, vabr+watchlistpasswordmanager_chromium.org, pkl (ping after 24h if needed), noyau+watch_chromium.org, ios-reviews_chromium.org, marq+watch_chromium.org, gcasto+watchlist_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove hasPasswordField from the public __gCrWeb API. This method is a helper for __gCrWeb.fillPasswordForm. The only usage outside of JavaScript is in password_controller_unittest.mm, which tests explicitly the scenario of detecting password fields in nested iframes. This change beefs up test cases in PasswordControllerTest so the nested iframe case is tested using the public fillPasswordForm API. BUG=614092 TESTED=Ran ios_chrome_unittests Review-Url: https://codereview.chromium.org/2825123003 Cr-Commit-Position: refs/heads/master@{#465625} Committed: https://chromium.googlesource.com/chromium/src/+/ed96115726663cd5ed367c807310400686dc0927

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -80 lines) Patch
M ios/chrome/browser/passwords/password_controller_unittest.mm View 1 5 chunks +46 lines, -66 lines 0 comments Download
M ios/chrome/browser/passwords/resources/password_controller.js View 1 chunk +0 lines, -14 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
danyao
3 years, 8 months ago (2017-04-18 23:03:33 UTC) #2
Eugene But (OOO till 7-30)
vabr@ would be a better reviewer for this CL. lgtm from my perspective https://codereview.chromium.org/2825123003/diff/1/ios/chrome/browser/passwords/password_controller_unittest.mm File ...
3 years, 8 months ago (2017-04-19 00:18:13 UTC) #4
vabr (Chromium)
LGTM, removing hasPasswordField certainly makes sense to me, and the updated tests seem to cover ...
3 years, 8 months ago (2017-04-19 06:51:56 UTC) #5
vabr (Chromium)
Actually, do the new unit tests pass? Our iframe support is broken (https://crbug.com/554927), and a ...
3 years, 8 months ago (2017-04-19 09:09:20 UTC) #6
danyao
On 2017/04/19 09:09:20, vabr (Chromium) wrote: > Actually, do the new unit tests pass? Our ...
3 years, 8 months ago (2017-04-19 15:43:51 UTC) #7
danyao
https://codereview.chromium.org/2825123003/diff/1/ios/chrome/browser/passwords/password_controller_unittest.mm File ios/chrome/browser/passwords/password_controller_unittest.mm (right): https://codereview.chromium.org/2825123003/diff/1/ios/chrome/browser/passwords/password_controller_unittest.mm#newcode760 ios/chrome/browser/passwords/password_controller_unittest.mm:760: // A script that we run after autofilling forms. ...
3 years, 8 months ago (2017-04-19 15:49:03 UTC) #8
vabr (Chromium)
On 2017/04/19 15:43:51, danyao wrote: > On 2017/04/19 09:09:20, vabr (Chromium) wrote: > > Actually, ...
3 years, 8 months ago (2017-04-19 15:49:40 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2825123003/20001
3 years, 8 months ago (2017-04-19 15:49:51 UTC) #12
commit-bot: I haz the power
3 years, 8 months ago (2017-04-19 16:00:57 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/ed96115726663cd5ed367c807310...

Powered by Google App Engine
This is Rietveld 408576698