diff options
author | erikchen <erikchen@chromium.org> | 2015-07-13 16:41:20 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-13 23:43:01 +0000 |
commit | ff8b5c7ae0273be9b56d64930aaee1f5f13e1eba (patch) | |
tree | 36184ff18053ea290486d2cdd55bc5b2b059f2ef /extensions/extensions_browsertests.isolate | |
parent | 8ca1caa1b786262d4c0fec5563ba7f4ffa6011f2 (diff) | |
download | chromium_src-ff8b5c7ae0273be9b56d64930aaee1f5f13e1eba.zip chromium_src-ff8b5c7ae0273be9b56d64930aaee1f5f13e1eba.tar.gz chromium_src-ff8b5c7ae0273be9b56d64930aaee1f5f13e1eba.tar.bz2 |
mac: Flush the autorelease pool after making a browser window in browser tests.
Failure to do so causes some Chrome NSObjects to not be destroyed until after
the rest of the test infrastructure has been torn down. This causes failures
when running browser tests on Yosemite.
This CL moves the method OpenURLOffTheRecord from the ui_test_utils namespace
into an instance method on InProcessBrowserTest. This allows the method to flush
the autoreleasepool on Macs.
This CL adds the method OpenDevToolsWindow to InProcessBrowserTest. This is a
wrapper around DevToolsWindow::OpenDevToolsWindow that flushes the
autoreleasepool on Macs.
BUG=445495
Review URL: https://codereview.chromium.org/1225093003
Cr-Commit-Position: refs/heads/master@{#338593}
Diffstat (limited to 'extensions/extensions_browsertests.isolate')
0 files changed, 0 insertions, 0 deletions