Commit 78aba175 authored by Xiaocheng Hu's avatar Xiaocheng Hu Committed by Commit Bot

Disable browser test TabCaptureApiPixelTest.OffscreenTabEvilTests on Mac

The test is consistently timing out on all Mac testers

Bug: 864250
Change-Id: I493aa756176c5df2b7333bd36beb84895e6e2711
NoTry: True
Tbr: miu@chromium.org
Reviewed-on: https://chromium-review.googlesource.com/1139002Reviewed-by: default avatarXiaocheng Hu <xiaochengh@chromium.org>
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#575481}
parent 9a85176b
...@@ -224,8 +224,15 @@ IN_PROC_BROWSER_TEST_F(TabCaptureApiPixelTest, OffscreenTabEndToEnd) { ...@@ -224,8 +224,15 @@ IN_PROC_BROWSER_TEST_F(TabCaptureApiPixelTest, OffscreenTabEndToEnd) {
ASSERT_FALSE(profile()->HasOffTheRecordProfile()); ASSERT_FALSE(profile()->HasOffTheRecordProfile());
} }
#if defined(OS_MACOSX)
// Timeout on Mac. crbug.com/864250
#define MAYBE_OffscreenTabEvilTests DISABLED_OffscreenTabEvilTests
#else
#define MAYBE_OffscreenTabEvilTests OffscreenTabEvilTests
#endif
// Tests that off-screen tabs can't do evil things (e.g., access local files). // Tests that off-screen tabs can't do evil things (e.g., access local files).
IN_PROC_BROWSER_TEST_F(TabCaptureApiPixelTest, OffscreenTabEvilTests) { IN_PROC_BROWSER_TEST_F(TabCaptureApiPixelTest, MAYBE_OffscreenTabEvilTests) {
if (IsTooIntensiveForThisPlatform()) { if (IsTooIntensiveForThisPlatform()) {
LOG(WARNING) << "Skipping this CPU-intensive test on this platform/build."; LOG(WARNING) << "Skipping this CPU-intensive test on this platform/build.";
return; return;
......
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