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

Issue 2334543003: [Password Generation] Move canonical action computation from rendered to browser part (Closed)

Created:
4 years, 3 months ago by kolos1
Modified:
4 years, 3 months ago
Reviewers:
vabr (Chromium), dvadym
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, vabr+watchlistpasswordmanager_chromium.org, rouslan+autofill_chromium.org, jam, browser-components-watch_chromium.org, jdonnelly+autofillwatch_chromium.org, darin-cc_chromium.org, vabr+watchlistautofill_chromium.org, estade+watch_chromium.org, gcasto+watchlist_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Password Generation] Move canonical action computation from rendered to browser part In this CL (https://codereview.chromium.org/2320563002/), we compute a canonical action in PasswordGenerationAgent. If action is empty, we need document's origin. But "render_frame()->GetWebFrame()->document().baseURL()" causes crashes on Windows (crbug.com/645507), because document() might be null. In this CL, we move action computation to browser side where we know the origin for sure. BUG=582434, 645507 Committed: https://crrev.com/c1a3b16b2baf991280f7c42a8cd99a27bfa7d566 Cr-Commit-Position: refs/heads/master@{#418246}

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -17 lines) Patch
M chrome/renderer/autofill/password_generation_test_utils.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M components/autofill/content/renderer/password_generation_agent.cc View 1 3 chunks +4 lines, -14 lines 0 comments Download
M components/password_manager/core/browser/password_generation_manager.cc View 1 2 chunks +22 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 17 (11 generated)
kolos1
dvadym@chromium.org: Please review changes in password_generation_agent.cc password_generation_manager.cc vabr@chromium.org: Please review changes in password_generation_test_utils.cc
4 years, 3 months ago (2016-09-13 13:37:56 UTC) #9
vabr (Chromium)
Hi Maxim, password_generation_test_utils.cc LGTM! Vaclav
4 years, 3 months ago (2016-09-13 13:43:32 UTC) #10
dvadym
LGTM
4 years, 3 months ago (2016-09-13 13:45:14 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/2334543003/20001
4 years, 3 months ago (2016-09-13 13:58:06 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-13 14:45:50 UTC) #15
commit-bot: I haz the power
4 years, 3 months ago (2016-09-13 14:47:21 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/c1a3b16b2baf991280f7c42a8cd99a27bfa7d566
Cr-Commit-Position: refs/heads/master@{#418246}

Powered by Google App Engine
This is Rietveld 408576698