Fix WindowdotPrintShouldBringUpPrintPreview
Fix this test by changing auto_cancel to false. The delegate was
waiting for the preview to be ready but cancel was being clicked in
javascript before the preview finished so the delegate never stopped.
Also move to base::RunLoop instead of content::MessageLoopRunner
since MessageLoopRunner is deprecated per comment in test_utils.h.
BUG=312897
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Review-Url: https://codereview.chromium.org/2683653005
Cr-Commit-Position: refs/heads/master@{#449430}
4 files changed