polychrome: fix PasswordDialogViewTest suite
These tests assume window closure via views::Widget::Close() is synchronous, which is not guaranteed to be the case. Spinning the runloop allows async window closure to happen properly in these tests, which fixes them for MacViews. Bug: 817408 Change-Id: Ic2d0443283a46573631a628cf57d077514674326 Reviewed-on: https://chromium-review.googlesource.com/970725Reviewed-by:Leonard Grey <lgrey@chromium.org> Commit-Queue: Elly Fong-Jones <ellyjones@chromium.org> Cr-Commit-Position: refs/heads/master@{#544358}
Showing
Please register or sign in to comment