Fix password form matching across frames
NewPasswordFormManager::DoesManage matches FormData by their unique_renderer_id. This ID is unique within one renderer process. If two frames are hosted by different processes, and each has a form, those forms can end up with the same ID but still unrelated. The DoesManage method would not distinguish them alone, leading to not creating a form manager for the second form. Therefore, this CL adds a check against a driver in addition to the ID. Bug: 831123 Change-Id: I93502d6cfaf0daa58071046e05e8e93b6c6dacbb Reviewed-on: https://chromium-review.googlesource.com/1069074 Commit-Queue: Vadym Doroshenko <dvadym@chromium.org> Reviewed-by:Vadym Doroshenko <dvadym@chromium.org> Cr-Commit-Position: refs/heads/master@{#560655}
Showing
Please register or sign in to comment