mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 08:35:26 +00:00
27 lines
675 B
HTML
27 lines
675 B
HTML
<html>
|
|
<head>
|
|
<title>redirecting...</title>
|
|
|
|
<script type="text/javascript">
|
|
function redirect(aURL)
|
|
{
|
|
// We create a listener for this event in browser-test.js
|
|
// which will get picked up when specifying --chrome or --a11y
|
|
var element = document.createEvent("datacontainerevent");
|
|
element.initEvent("contentEvent", true, false);
|
|
element.setData("data", aURL + location.search);
|
|
element.setData("type", "loadURI");
|
|
document.dispatchEvent(element);
|
|
}
|
|
|
|
function onLoad() {
|
|
redirect("chrome://mochikit/content/harness.xul");
|
|
}
|
|
</script>
|
|
</head>
|
|
|
|
<body onload="onLoad();">
|
|
redirecting...
|
|
</body>
|
|
</html>
|