commit | 64a6d4440f3ac8fbca44de888406da881a0f4bd1 | [log] [tgz] |
---|---|---|
author | erikchen <[email protected]> | Fri Jul 10 19:38:20 2015 |
committer | Commit bot <[email protected]> | Fri Jul 10 19:38:56 2015 |
tree | 09b1b7515ef74a83e749967e281f2abac1b1a471 | |
parent | 95a0afbeed27726ba4661262c97f1ac57a87318c [diff] |
Extract duplicated code in browser_tests for closing a browser. There is a lot of duplicated code, and much of it only partially duplicated (and hence incorrect). Pull it out into the common methods CloseBrowserSynchronously(), CloseBrowserAsynchronously() and CloseAllBrowsers(). This fixes many Mac tests on Yosemite. BUG=445495 Review URL: https://codereview.chromium.org/1228723002 Cr-Commit-Position: refs/heads/master@{#338340}