DescriptionFix flakiness of SelectFileDialogExtensionBrowserTest.SelectFileAndCancel.
Previously the test waits for destruction of render view host to check if the
dialog has been closed or not. But test log shows there is a race and we cannot
ensure the extension dialog has been closed even if its render view host is
closed.
The CL let the test wait for SelectionFileDialog::Listener's call instead, where
we can ensure the dialog has been closed.
BUG=453613
TEST=SelectFileDialogExtensionBrowserTest.SelectFileAndCancel
Committed: https://crrev.com/33dcb1138514fadc1d4c9769ed5899eeca814231
Cr-Commit-Position: refs/heads/master@{#314510}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Fixed. #Messages
Total messages: 9 (3 generated)
|