Commit 6986d626 authored by clamy's avatar clamy Committed by Commit bot

Disable two browser hit testing tests on Android

https://codereview.chromium.org/2743733002 already disabled several of
them, due to rounding errors on Android. There are two additional tests
that are failing on some of the Android bots. This CL disables them.

BUG=700007
TBR=kenrb@chromium.org, creis@chromium.org

Review-Url: https://codereview.chromium.org/2750343002
Cr-Commit-Position: refs/heads/master@{#457414}
parent 73d4f0e4
......@@ -1432,8 +1432,16 @@ IN_PROC_BROWSER_TEST_F(SitePerProcessBrowserTest,
// This test tests that browser process hittesting ignores frames with
// pointer-events: none.
#if defined(OS_ANDROID)
// Test failing on some Android builders, due to inaccurate coordinates on
// some devices. See: https://crbug.com/700007.
#define MAYBE_SurfaceHitTestPointerEventsNone \
DISABLED_SurfaceHitTestPointerEventsNone
#else
#define MAYBE_SurfaceHitTestPointerEventsNone SurfaceHitTestPointerEventsNone
#endif
IN_PROC_BROWSER_TEST_F(SitePerProcessBrowserTest,
SurfaceHitTestPointerEventsNone) {
MAYBE_SurfaceHitTestPointerEventsNone) {
GURL main_url(embedded_test_server()->GetURL(
"/frame_tree/page_with_positioned_frame_pointer-events_none.html"));
EXPECT_TRUE(NavigateToURL(shell(), main_url));
......@@ -6230,7 +6238,14 @@ void CreateContextMenuTestHelper(
// Test that a mouse right-click to an out-of-process iframe causes a context
// menu to be generated with the correct screen position.
IN_PROC_BROWSER_TEST_F(SitePerProcessBrowserTest, CreateContextMenuTest) {
#if defined(OS_ANDROID)
// Test failing on some Android builders, due to inaccurate coordinates on
// some devices. See: https://crbug.com/700007.
#define MAYBE_CreateContextMenuTest DISABLED_CreateContextMenuTest
#else
#define MAYBE_CreateContextMenuTest CreateContextMenuTest
#endif
IN_PROC_BROWSER_TEST_F(SitePerProcessBrowserTest, MAYBE_CreateContextMenuTest) {
CreateContextMenuTestHelper(shell(), embedded_test_server());
}
......
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