Closed Bug 493106 Opened 15 years ago Closed 15 years ago

simple code that makes browser hanged

Categories

(Firefox :: Security, defect)

3.0 Branch
x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED WONTFIX

People

(Reporter: mordotymoja, Unassigned)

Details

(Keywords: hang)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10

websites with a source code like:

<html>
<head>
</head>
<body onload="while ('forever') {};">
</body>
</html>


just hang the browser and it must be restarted

Reproducible: Always

Steps to Reproduce:
1. Enter the site with code like that

Actual Results:  
Hanged browser

Expected Results:  
Working browser

n/c
A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.

Script: data:text/html,<body%20onload="while%20('forever')%20{};">:1

this isn't interesting.
Group: core-security
Keywords: hang
Severity: critical → major
Version: unspecified → 3.0 Branch
Yup, that's exactly the kind of thing the unresponsive script dialog is designed to stop. If someone has turned off that dialog that's like driving down the road without seatbelts: perfectly safe as long as you're not in an accident.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.