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

Unified Diff: LayoutTests/compositing/iframes/enter-compositing-iframe.html

Issue 181653006: Remove testRunner.display() from most compositing/ tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Revert change to plugin test 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
Index: LayoutTests/compositing/iframes/enter-compositing-iframe.html
diff --git a/LayoutTests/compositing/iframes/enter-compositing-iframe.html b/LayoutTests/compositing/iframes/enter-compositing-iframe.html
index db4432f9b0688a14c67be4b93574e200348f099a..36e52fe498fe9646757d1422090ddd0f6a9e85e0 100644
--- a/LayoutTests/compositing/iframes/enter-compositing-iframe.html
+++ b/LayoutTests/compositing/iframes/enter-compositing-iframe.html
@@ -2,6 +2,7 @@
<html>
<head>
+ <script src="../../resources/run-after-display.js"></script>
<style type="text/css" media="screen">
iframe {
border: 10px solid black;
@@ -33,9 +34,10 @@
{
document.getElementById('parent-iframe').contentDocument.body.offsetWidth; // work around bug 41999.
if (window.testRunner) {
- testRunner.display();
- document.getElementById('layers').innerText = window.internals.layerTreeAsText(document);
- testRunner.notifyDone();
+ runAfterDisplay(function() {
+ document.getElementById('layers').innerText = window.internals.layerTreeAsText(document);
+ testRunner.notifyDone();
+ });
}
}
</script>
« no previous file with comments | « LayoutTests/compositing/iframes/connect-compositing-iframe3.html ('k') | LayoutTests/compositing/iframes/iframe-resize.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698