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

Unified Diff: LayoutTests/fast/events/drag-and-drop-autoscroll-inner-frame.html

Issue 258713015: Prepare LayoutTests for making data: urls async (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
Index: LayoutTests/fast/events/drag-and-drop-autoscroll-inner-frame.html
diff --git a/LayoutTests/fast/events/drag-and-drop-autoscroll-inner-frame.html b/LayoutTests/fast/events/drag-and-drop-autoscroll-inner-frame.html
index 0cfc600093f41f7bae41cf627070efb1e318bc41..9547a19d59f1047c7f769a723d911fd6e806d9e1 100644
--- a/LayoutTests/fast/events/drag-and-drop-autoscroll-inner-frame.html
+++ b/LayoutTests/fast/events/drag-and-drop-autoscroll-inner-frame.html
@@ -26,7 +26,11 @@ function setUpTest()
}
window.jsTestIsAsync = true;
- setTimeout(testIt, 0);
+ iframe = document.getElementById('scrollable');
+ if (iframe.contentDocument.readyState != "complete")
+ iframe.onload = testIt;
+ else
+ testIt();
}
function testIt()
« no previous file with comments | « LayoutTests/accessibility/loading-iframe-sends-notification-expected.txt ('k') | LayoutTests/loader/iframe-sync-loads.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698