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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/hr-time/test_cross_frame_start.html

Issue 2015623004: Import wpt@ed94c51f3dfaa5ff4c9c311add1a560408059c51 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: third_party/WebKit/LayoutTests/imported/wpt/hr-time/test_cross_frame_start.html
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/hr-time/test_cross_frame_start.html b/third_party/WebKit/LayoutTests/imported/wpt/hr-time/test_cross_frame_start.html
index 1221ad6d0c88b8807cfef81cc59e828f8682ffcb..db1df6985300c49e5bc39820738543b175a6e921 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt/hr-time/test_cross_frame_start.html
+++ b/third_party/WebKit/LayoutTests/imported/wpt/hr-time/test_cross_frame_start.html
@@ -12,13 +12,16 @@
<script type="text/javascript">
setup({explicit_done: true});
+ var setup_frame = async_test("Setup the frame");
+
function start_test() {
- setTimeout(function() {
+ setup_frame.step_timeout(function () {
var iframe = document.createElement('iframe');
iframe.id = 'frameContext';
iframe.onload = finish_test;
iframe.src = "resources/now_frame.html";
document.body.appendChild(iframe);
+ setup_frame.done();
}, 1000);
}

Powered by Google App Engine
This is Rietveld 408576698