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 : #
Dependent Patchsets: Messages
Total messages: 17 (11 generated)
|