mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 21:55:31 +00:00
30 lines
641 B
HTML
30 lines
641 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 event = new CustomEvent("contentEvent", {
|
|
bubbles: true,
|
|
detail: {
|
|
"data": aURL + location.search,
|
|
"type": "loadURI"
|
|
}
|
|
});
|
|
document.dispatchEvent(event);
|
|
}
|
|
|
|
function onLoad() {
|
|
redirect("chrome://mochikit/content/harness.xul");
|
|
}
|
|
</script>
|
|
</head>
|
|
|
|
<body onload="onLoad();">
|
|
redirecting...
|
|
</body>
|
|
</html>
|