3 <title>redirecting...
</title>
5 <script type=
"text/javascript">
6 function redirect(aURL
) {
7 // We create a listener for this event in browser-test.js which will
8 // get picked up when specifying --flavor=chrome or --flavor=a11y
9 var event
= new CustomEvent("contentEvent", {
12 "data": aURL
+ location
.search
,
16 document
.dispatchEvent(event
);
19 function redirectToHarness() {
20 redirect("chrome://mochikit/content/harness.xhtml");
24 setTimeout(redirectToHarness
, 0);
25 // In case the listener is not ready, re-try periodically
26 setInterval(redirectToHarness
, 5000);
31 <body onload=
"onLoad();">