summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_uitest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/browser_uitest.cc')
-rw-r--r--chrome/browser/browser_uitest.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/chrome/browser/browser_uitest.cc b/chrome/browser/browser_uitest.cc
index 99f9ccc..55ed855 100644
--- a/chrome/browser/browser_uitest.cc
+++ b/chrome/browser/browser_uitest.cc
@@ -117,18 +117,12 @@ TEST_F(BrowserTest, ThirtyFourTabs) {
return;
// See browser\renderer_host\render_process_host.cc for the algorithm to
// decide how many processes to create.
-#if defined(OS_WIN) || defined(OS_LINUX)
-// TODO(pinkerton): Turn this back on for Mac when ChromeBrowserProcessId()
-// gets implemented. Right now we don't have a good way to do it, and keeping
-// a file always open just so UI tests can check renderers seems a bit
-// wasteful.
int process_count = GetBrowserProcessCount();
if (base::SysInfo::AmountOfPhysicalMemoryMB() >= 2048) {
EXPECT_GE(process_count, 24);
} else {
EXPECT_LE(process_count, 23);
}
-#endif
}
#if defined(OS_WIN)
@@ -257,13 +251,7 @@ TEST_F(BrowserTest, OtherRedirectsDontForkProcess) {
int orig_tab_count = -1;
ASSERT_TRUE(window->GetTabCount(&orig_tab_count));
int orig_process_count = GetBrowserProcessCount();
-#if defined(OS_WIN) || defined(OS_LINUX)
-// TODO(pinkerton): Turn this back on for Mac when ChromeBrowserProcessId()
-// gets implemented. Right now we don't have a good way to do it, and keeping
-// a file always open just so UI tests can check renderers seems a bit
-// wasteful.
ASSERT_GE(orig_process_count, 1);
-#endif
// Use JavaScript URL to almost fork a new tab, but not quite. (Leave the
// opener non-null.) Should not fork a process.