Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(251)

Issue 1229473002: mac: Fix five browser_tests on Yosemite. (Closed)

Created:
5 years, 5 months ago by erikchen
Modified:
5 years, 5 months ago
Reviewers:
Robert Sesek
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mac: Fix five browser_tests on Yosemite. After a browser test creates or destroys a browser window, it should call AutoreleasePool()->Recycle to ensure the resources are synchronously destroyed. Failing to do so can cause race conditions in the tear down of the test. This CL fixes BrowserCloseManagerBrowserTest.* ChromeServiceWorkerTest.CanCloseIncognitoWindowWithServiceWorkerController SettingsWindowManagerTest.* StartupBrowserCreatorTest.* ZoomDecorationTest.CloseBrowserWithOpenBubble BUG=445495

Patch Set 1 #

Patch Set 2 : Add ifdefs. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -7 lines) Patch
M chrome/browser/ui/settings_window_manager_browsertest.cc View 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/startup/startup_browser_creator_browsertest.cc View 8 chunks +18 lines, -7 lines 0 comments Download
M chrome/test/base/in_process_browser_test.cc View 1 4 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
erikchen
rsesek: Please review.
5 years, 5 months ago (2015-07-06 23:19:02 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1229473002/1
5 years, 5 months ago (2015-07-06 23:38:32 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/93746) android_compile_dbg on ...
5 years, 5 months ago (2015-07-06 23:52:23 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1229473002/20001
5 years, 5 months ago (2015-07-06 23:57:36 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 5 months ago (2015-07-07 00:49:03 UTC) #10
Robert Sesek
This seems like a fragile way to go about fixing these issues, and new tests ...
5 years, 5 months ago (2015-07-07 15:49:24 UTC) #11
erikchen
On 2015/07/07 15:49:24, Robert Sesek wrote: > This seems like a fragile way to go ...
5 years, 5 months ago (2015-07-07 22:12:25 UTC) #12
Robert Sesek
On 2015/07/07 22:12:25, erikchen wrote: > On 2015/07/07 15:49:24, Robert Sesek wrote: > > This ...
5 years, 5 months ago (2015-07-08 18:44:38 UTC) #13
erikchen
5 years, 5 months ago (2015-07-09 01:25:38 UTC) #14
Message was sent while issue was closed.
Better solution incoming:

https://codereview.chromium.org/1228723002/

Powered by Google App Engine
This is Rietveld 408576698