summaryrefslogtreecommitdiffstats
path: root/content/content_browsertests.isolate
diff options
context:
space:
mode:
authorerikchen <erikchen@chromium.org>2015-07-13 16:41:20 -0700
committerCommit bot <commit-bot@chromium.org>2015-07-13 23:43:01 +0000
commitff8b5c7ae0273be9b56d64930aaee1f5f13e1eba (patch)
tree36184ff18053ea290486d2cdd55bc5b2b059f2ef /content/content_browsertests.isolate
parent8ca1caa1b786262d4c0fec5563ba7f4ffa6011f2 (diff)
downloadchromium_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 'content/content_browsertests.isolate')
0 files changed, 0 insertions, 0 deletions