2007-02-20 01:56:30 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>redirecting...</title>
|
|
|
|
|
2008-02-14 02:32:21 -08:00
|
|
|
<script type="text/javascript">
|
2011-10-06 10:51:03 -04:00
|
|
|
function redirect(aURL) {
|
2016-08-08 11:48:49 -04:00
|
|
|
// We create a listener for this event in browser-test.js which will
|
|
|
|
// get picked up when specifying --flavor=chrome or --flavor=a11y
|
2014-03-21 13:00:00 +09:00
|
|
|
var event = new CustomEvent("contentEvent", {
|
|
|
|
bubbles: true,
|
|
|
|
detail: {
|
|
|
|
"data": aURL + location.search,
|
|
|
|
"type": "loadURI",
|
|
|
|
},
|
|
|
|
});
|
|
|
|
document.dispatchEvent(event);
|
2011-10-06 10:51:03 -04:00
|
|
|
}
|
|
|
|
|
2014-11-19 15:43:28 -07:00
|
|
|
function redirectToHarness() {
|
2019-12-02 19:16:22 +00:00
|
|
|
redirect("chrome://mochikit/content/harness.xhtml");
|
2012-03-30 12:27:50 +02:00
|
|
|
}
|
2014-11-19 15:43:28 -07:00
|
|
|
|
|
|
|
function onLoad() {
|
2018-09-26 08:28:20 -06:00
|
|
|
setTimeout(redirectToHarness, 0);
|
|
|
|
// In case the listener is not ready, re-try periodically
|
|
|
|
setInterval(redirectToHarness, 5000);
|
2014-11-19 15:43:28 -07:00
|
|
|
}
|
2007-02-20 01:56:30 +00:00
|
|
|
</script>
|
|
|
|
</head>
|
2012-03-30 12:27:50 +02:00
|
|
|
|
|
|
|
<body onload="onLoad();">
|
2007-02-20 01:56:30 +00:00
|
|
|
redirecting...
|
|
|
|
</body>
|
|
|
|
</html>
|