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

Unified Diff: LayoutTests/compositing/iframes/iframe-content-flipping.html

Issue 196653012: Remove display() from compositing/ LayoutTests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: softwarecompositing expectations Created 6 years, 9 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
Index: LayoutTests/compositing/iframes/iframe-content-flipping.html
diff --git a/LayoutTests/compositing/iframes/iframe-content-flipping.html b/LayoutTests/compositing/iframes/iframe-content-flipping.html
index c06b47e4aa06b7cebb717be3a3dcddc9defa4876..37949e7ca7c052b9cc04473d1599fe40e901c10a 100644
--- a/LayoutTests/compositing/iframes/iframe-content-flipping.html
+++ b/LayoutTests/compositing/iframes/iframe-content-flipping.html
@@ -15,13 +15,18 @@
}
</style>
+ <script src="../../resources/run-after-display.js"></script>
<script type="text/javascript" charset="utf-8">
function doTest()
{
if (window.testRunner)
- testRunner.display();
+ testRunner.waitUntilDone();
- document.getElementById('iframe').className = 'composited';
+ runAfterDisplay(function() {
+ document.getElementById('iframe').className = 'composited';
+ if (window.testRunner)
+ testRunner.notifyDone();
+ });
}
window.addEventListener('load', doTest, false);

Powered by Google App Engine
This is Rietveld 408576698