What happens if a browser loads an HTML page like this one?
<html> <head> <title>Test 1</title> <script language="JavaScript"> while(true); </script> </head> <body> </body> </html>
Or this one?
<html>
<head>
<title>Test 2</title>
<script language="JavaScript">
while(true)
alert("free porn movies one click ahead
");
</script>
</head>
<body>
</body>
</html>
Or this one?
<html>
<head>
<title>Test 3</title>
<script language="JavaScript">
var x = new Array();
var y = x;
while(true) {
y[0] = new Array();
y = y[0];
}
</script>
</head>
<body>
</body>
</html>