DescriptionFix password manager subframe test to watch for navigation in subframe.
It looks like the intent of this test is to make sure that the password
prompt doesn't show up for a failed login in a subframe. However, the
test is a bit odd: it races the form submit and navigation of the main
frame. Presumably, this was done so NavigationObserver can wait for the
top-level navigation of the page and observer success/failure of the
test conditions. Since NavigationObserver can wait for subframes to
load, just fix the test to wait for the subframe to commit.
BUG=464764
Committed: https://crrev.com/aa719a69b0fade8bd70e31886ac0dbf09cb9f0ce
Cr-Commit-Position: refs/heads/master@{#323951}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|