From f5613aa5bb1e1f751516fa19fe892df21e113d1f Mon Sep 17 00:00:00 2001 From: Serge Gautherie Date: Fri, 30 Mar 2012 12:27:50 +0200 Subject: [PATCH] Bug 733269. (Av1) redirect.html: Let its load complete before redirecting. rs=jwalden. --- testing/mochitest/redirect.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/testing/mochitest/redirect.html b/testing/mochitest/redirect.html index 4aff4dd916b..381d45ee14a 100644 --- a/testing/mochitest/redirect.html +++ b/testing/mochitest/redirect.html @@ -14,10 +14,13 @@ document.dispatchEvent(element); } - redirect("chrome://mochikit/content/harness.xul"); + function onLoad() { + redirect("chrome://mochikit/content/harness.xul"); + } - + + redirecting...