mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
31 lines
617 B
HTML
31 lines
617 B
HTML
<html>
|
|
<head>
|
|
<script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
|
|
<script src="NavigationUtils.js"></script>
|
|
</head>
|
|
<body>
|
|
<script>
|
|
var arguments = window.location.hash.substring(1).split(",");
|
|
var target = arguments[0];
|
|
var mechanism = arguments[1];
|
|
|
|
document.write("target=" + target + " mechanism=" + mechanism);
|
|
|
|
switch(mechanism) {
|
|
case "location":
|
|
navigateByLocation(eval(target));
|
|
break;
|
|
case "open":
|
|
navigateByOpen(target);
|
|
break;
|
|
case "form":
|
|
navigateByForm(target);
|
|
break;
|
|
case "hyperlink":
|
|
navigateByHyperlink(target);
|
|
break;
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|