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

Unified Diff: LayoutTests/inspector/timeline/timeline-layout-autosize.html

Issue 176933003: Deflake LayoutTests/inspector/timeline/timeline-layout-autosize.html (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/http/tests/inspector/inspector-test.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/timeline/timeline-layout-autosize.html
diff --git a/LayoutTests/inspector/timeline/timeline-layout-autosize.html b/LayoutTests/inspector/timeline/timeline-layout-autosize.html
index 81f7808150d545aa29a520be6afac8abb2125491..5ce20e7d35c67b84873f503a2339698a7cc2c2f9 100644
--- a/LayoutTests/inspector/timeline/timeline-layout-autosize.html
+++ b/LayoutTests/inspector/timeline/timeline-layout-autosize.html
@@ -10,11 +10,8 @@
}
</style>
<script>
-
-function prepare()
-{
+if (window.internals)
window.internals.settings.setTextAutosizingEnabled(true);
-}
function performActions()
{
@@ -30,15 +27,13 @@ function invalidateAndForceLayout(element)
function test()
{
- InspectorTest.evaluateInPage("prepare()", function() {
- InspectorTest.performActionsAndPrint("performActions()", "AutosizeText");
- });
+ InspectorTest.performActionsAndPrint("performActions()", "AutosizeText");
}
</script>
</head>
-<body onload="runTest()">
+<body onload="runTestAfterDisplay()">
<p>
Tests the Timeline API instrumentation of a Layout event with Text Autosizing enabled.
</p>
« no previous file with comments | « LayoutTests/http/tests/inspector/inspector-test.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698