|
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
Committed: https://crrev.com/ff8b5c7ae0273be9b56d64930aaee1f5f13e1eba
Cr-Commit-Position: refs/heads/master@{#338593}
Total comments: 2
Total comments: 7
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+178 lines, -80 lines) |
Patch |
 |
M |
chrome/browser/apps/app_browsertest.cc
|
View
|
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/cookies/cookies_apitest.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/extension_action/browser_action_apitest.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/extension_action/browser_action_interactive_test.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/preference/preference_apitest.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/web_request/web_request_apitest.cc
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_apitest.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_context_menu_browsertest.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_icon_source_apitest.cc
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_incognito_apitest.cc
|
View
|
1
2
3
4
5
6
|
6 chunks |
+9 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_messages_apitest.cc
|
View
|
1
2
3
4
|
7 chunks |
+10 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_override_apitest.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_view_host_factory_browsertest.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/lazy_background_page_apitest.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/geolocation/geolocation_browsertest.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/prefetch/prefetch_browsertest.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/prerender/prerender_browsertest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/host_zoom_map_browsertest.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_browsertest.cc
|
View
|
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/webui_webview_browsertest.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests_unit.gypi
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/test/BUILD.gn
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/base/in_process_browser_test.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/base/in_process_browser_test.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+24 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/test/base/in_process_browser_test_mac.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+94 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/base/ui_test_utils.h
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/test/base/ui_test_utils.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -11 lines |
0 comments
|
Download
|
Total messages: 37 (14 generated)
|