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

Side by Side Diff: content/browser/site_per_process_browsertest.cc

Issue 1649943002: TSAN: Disable / suppress failing tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/sanitizers/tsan_suppressions.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/site_per_process_browsertest.h" 5 #include "content/browser/site_per_process_browsertest.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 761 matching lines...) Expand 10 before | Expand all | Expand 10 after
772 SurfaceHitTestTestHelper(shell(), embedded_test_server()); 772 SurfaceHitTestTestHelper(shell(), embedded_test_server());
773 } 773 }
774 774
775 // This test tests that browser process hittesting ignores frames with 775 // This test tests that browser process hittesting ignores frames with
776 // pointer-events: none. 776 // pointer-events: none.
777 #if defined(OS_ANDROID) 777 #if defined(OS_ANDROID)
778 // Browser process hit testing is not implemented on Android. 778 // Browser process hit testing is not implemented on Android.
779 // https://crbug.com/491334 779 // https://crbug.com/491334
780 #define MAYBE_SurfaceHitTestPointerEventsNone \ 780 #define MAYBE_SurfaceHitTestPointerEventsNone \
781 DISABLED_SurfaceHitTestPointerEventsNone 781 DISABLED_SurfaceHitTestPointerEventsNone
782 #elif defined(THREAD_SANITIZER)
783 // Flaky on TSAN. https://crbug.com/582277
784 #define MAYBE_SurfaceHitTestPointerEventsNone \
785 DISABLED_SurfaceHitTestPointerEventsNone
782 #else 786 #else
783 #define MAYBE_SurfaceHitTestPointerEventsNone SurfaceHitTestPointerEventsNone 787 #define MAYBE_SurfaceHitTestPointerEventsNone SurfaceHitTestPointerEventsNone
784 #endif 788 #endif
785 IN_PROC_BROWSER_TEST_F(SitePerProcessBrowserTest, 789 IN_PROC_BROWSER_TEST_F(SitePerProcessBrowserTest,
786 MAYBE_SurfaceHitTestPointerEventsNone) { 790 MAYBE_SurfaceHitTestPointerEventsNone) {
787 GURL main_url(embedded_test_server()->GetURL( 791 GURL main_url(embedded_test_server()->GetURL(
788 "/frame_tree/page_with_positioned_frame_pointer-events_none.html")); 792 "/frame_tree/page_with_positioned_frame_pointer-events_none.html"));
789 NavigateToURL(shell(), main_url); 793 NavigateToURL(shell(), main_url);
790 794
791 // It is safe to obtain the root frame tree node here, as it doesn't change. 795 // It is safe to obtain the root frame tree node here, as it doesn't change.
(...skipping 4417 matching lines...) Expand 10 before | Expand all | Expand 10 after
5209 ASSERT_EQ(1U, root->child_count()); 5213 ASSERT_EQ(1U, root->child_count());
5210 FrameTreeNode* mixed_child = root->child_at(0)->child_at(0); 5214 FrameTreeNode* mixed_child = root->child_at(0)->child_at(0);
5211 ASSERT_TRUE(mixed_child); 5215 ASSERT_TRUE(mixed_child);
5212 // The child iframe attempted to create a mixed iframe; this should 5216 // The child iframe attempted to create a mixed iframe; this should
5213 // have been blocked, so the mixed iframe should not have committed a 5217 // have been blocked, so the mixed iframe should not have committed a
5214 // load. 5218 // load.
5215 EXPECT_FALSE(mixed_child->has_committed_real_load()); 5219 EXPECT_FALSE(mixed_child->has_committed_real_load());
5216 } 5220 }
5217 5221
5218 } // namespace content 5222 } // namespace content
OLDNEW
« no previous file with comments | « build/sanitizers/tsan_suppressions.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698