Commit f5d7355f authored by Ramin Halavati's avatar Ramin Halavati Committed by Commit Bot

Update Lacros filter for DeleteSoleProfile test.

The criteria for disabling DeleteSoleProfile on Lacros are updated.

Bug: 1130131
Change-Id: Ifbb3def8b809c990e12a873ddfc21d92abf4c8ad
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2464931
Commit-Queue: Ramin Halavati <rhalavati@chromium.org>
Reviewed-by: default avatarKyle Horimoto <khorimoto@chromium.org>
Cr-Commit-Position: refs/heads/master@{#816905}
parent e7157fe4
......@@ -175,12 +175,6 @@ IN_PROC_BROWSER_TEST_F(ProfileHelperTest, DeleteSoleProfile) {
Browser* new_browser = added_observer.Wait();
EXPECT_EQ(1u, browser_list->size());
// On Lacros, the pointer to the new browser may be the same as the old one.
// https://crbug.com/1130131
#if !defined(OS_CHROMEOS) || !defined(OS_LINUX)
EXPECT_FALSE(base::Contains(*browser_list, original_browser));
EXPECT_NE(new_browser, original_browser);
#endif
EXPECT_NE(original_browser_profile_path, new_browser->profile()->GetPath());
EXPECT_EQ(1u, storage.GetNumberOfProfiles());
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment