gecko-dev/layout/generic/crashtests/370174-4.html
2013-12-23 16:51:57 +00:00

25 lines
1.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled</title>
<style>
</style>
</head>
<body>
<iframe id="content" src="data:text/html;charset=utf-8,%3Chtml%3E%3Chead%3E%3C/head%3E%3Cbody%3E%0A%3Cscript%3Enetscape.security.PrivilegeManager.enablePrivilege%28%22UniversalXPConnect%22%29%3B%0Avar%20wu%20%3D%20%20window.QueryInterface%28Components.interfaces.nsIInterfaceRequestor%29%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20.getInterface%28Components.interfaces.nsIDOMWindowUtils%29%3B%0A%0Avar%20i%20%3D%20Math.floor%28Math.random%28%29*20%29%3B%0Awu.sendMouseEvent%28%27mousedown%27%2C%20%2020*i%2C%2020*i%2C%200%2C%203%2C%200%29%3B%0Awu.sendMouseEvent%28%27mouseup%27%2C%20%2020*i%2C%2020*i%2C%200%2C%203%2C%200%29%3B%0A%3C/script%3E%0A%0A%3Cembed%20type%3D%22bbb%22%20style%3D%22display%3A%20-moz-inline-stack%3B%22%3E%0A%0A%3C/body%3E%3C/html%3E" style="width:1000px;height: 700px;"></iframe>
<script>
function doe2() {
document.getElementById('content').src = document.getElementById('content').src + '?1';
}
setInterval(doe2, 1000);
</script>
</body>
</html>