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

Side by Side Diff: content/renderer/render_view_browsertest.cc

Issue 1644643003: Disabled flaky RenderViewImplScaleFactorTest.GetCompositionCharacterBoundsTest (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 | « no previous file | 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 <stddef.h> 5 #include <stddef.h>
6 #include <stdint.h> 6 #include <stdint.h>
7 7
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 2634 matching lines...) Expand 10 before | Expand all | Expand 10 after
2645 blink::WebRect rect(20, 10, 200, 100); 2645 blink::WebRect rect(20, 10, 200, 100);
2646 view()->convertViewportToWindow(&rect); 2646 view()->convertViewportToWindow(&rect);
2647 EXPECT_EQ(10, rect.x); 2647 EXPECT_EQ(10, rect.x);
2648 EXPECT_EQ(5, rect.y); 2648 EXPECT_EQ(5, rect.y);
2649 EXPECT_EQ(100, rect.width); 2649 EXPECT_EQ(100, rect.width);
2650 EXPECT_EQ(50, rect.height); 2650 EXPECT_EQ(50, rect.height);
2651 } 2651 }
2652 } 2652 }
2653 2653
2654 #if defined(OS_MACOSX) || defined(USE_AURA) 2654 #if defined(OS_MACOSX) || defined(USE_AURA)
2655 TEST_F(RenderViewImplScaleFactorTest, GetCompositionCharacterBoundsTest) { 2655 TEST_F(RenderViewImplScaleFactorTest,
2656 DISABLED_GetCompositionCharacterBoundsTest) { // http://crbug.com/582016
2656 base::CommandLine::ForCurrentProcess()->AppendSwitch( 2657 base::CommandLine::ForCurrentProcess()->AppendSwitch(
2657 switches::kEnableUseZoomForDSF); 2658 switches::kEnableUseZoomForDSF);
2658 DoSetUp(); 2659 DoSetUp();
2659 SetDeviceScaleFactor(1.f); 2660 SetDeviceScaleFactor(1.f);
2660 #if defined(OS_WIN) 2661 #if defined(OS_WIN)
2661 // http://crbug.com/508747 2662 // http://crbug.com/508747
2662 if (base::win::GetVersion() >= base::win::VERSION_WIN10) 2663 if (base::win::GetVersion() >= base::win::VERSION_WIN10)
2663 return; 2664 return;
2664 #endif 2665 #endif
2665 2666
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
2749 FROM_HERE, 2750 FROM_HERE,
2750 base::Bind(&DevToolsAgentTest::CloseWhilePaused, base::Unretained(this))); 2751 base::Bind(&DevToolsAgentTest::CloseWhilePaused, base::Unretained(this)));
2751 ExecuteJavaScriptForTests("debugger;"); 2752 ExecuteJavaScriptForTests("debugger;");
2752 2753
2753 // CloseWhilePaused should resume execution and continue here. 2754 // CloseWhilePaused should resume execution and continue here.
2754 EXPECT_FALSE(IsPaused()); 2755 EXPECT_FALSE(IsPaused());
2755 Detach(); 2756 Detach();
2756 } 2757 }
2757 2758
2758 } // namespace content 2759 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698