If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

simple code that makes browser hanged

RESOLVED WONTFIX

Status

()

Firefox
Security
--
major
RESOLVED WONTFIX
9 years ago
8 years ago

People

(Reporter: Krzysztof, Unassigned)

Tracking

({hang})

3.0 Branch
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

9 years ago
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

Comment 1

8 years ago
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

Updated

8 years ago
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
Last Resolved: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.