зеркало из https://github.com/mozilla/pjs.git
24 строки
623 B
HTML
24 строки
623 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);
|
|
}
|
|
|
|
redirect("chrome://mochikit/content/harness.xul");
|
|
</script>
|
|
</head>
|
|
<body>
|
|
redirecting...
|
|
</body>
|
|
</html>
|