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

Unified Diff: LayoutTests/scrollingcoordinator/resources/non-fast-scrollable-region-testing.js

Issue 210253003: Make data: urls always parse async (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/loader/iframe-sync-loads-expected.txt ('k') | Source/core/frame/Settings.in » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/scrollingcoordinator/resources/non-fast-scrollable-region-testing.js
diff --git a/LayoutTests/scrollingcoordinator/resources/non-fast-scrollable-region-testing.js b/LayoutTests/scrollingcoordinator/resources/non-fast-scrollable-region-testing.js
index 3e085b419b9c9d64b5e3d169ce2e424298846a1e..594662b2f74d9db57abdc6c42c0881b1c338bfbe 100644
--- a/LayoutTests/scrollingcoordinator/resources/non-fast-scrollable-region-testing.js
+++ b/LayoutTests/scrollingcoordinator/resources/non-fast-scrollable-region-testing.js
@@ -1,6 +1,11 @@
+// setMockScrollbarsEnabled doesn't actually invalidate scrollbars
+// so if we don't set it immediately, they won't repaint/relayout
+// correctly! http://crbug.com/365509
+if (window.internals)
+ window.internals.settings.setMockScrollbarsEnabled(true);
+
function runNonFastScrollableRegionTest(scale) {
var invScale;
- window.internals.settings.setMockScrollbarsEnabled(true);
if (scale != undefined) {
if (window.eventSender)
eventSender.setPageScaleFactor(scale, 0, 0);
« no previous file with comments | « LayoutTests/loader/iframe-sync-loads-expected.txt ('k') | Source/core/frame/Settings.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698