Closed Bug 536754 Opened 15 years ago Closed 15 years ago

Mozilla Firefox will be stopped by using a recursive function which calls itself by using "setInterval"

Categories

(Firefox :: General, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 335256

People

(Reporter: soroush.dalili, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6 (.NET CLR 3.5.30729) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6 (.NET CLR 3.5.30729) Save this code as a HTML file and open it by Mozilla Firefox. --------- <script> function recursiveFunc(){setInterval("recursiveFunc()",0);} recursiveFunc(); </script> --------- Reproducible: Always Steps to Reproduce: Save this code as a HTML file and open it by Mozilla Firefox. --------- <script> function recursiveFunc(){setInterval("recursiveFunc()",0);} recursiveFunc(); </script> --------- Actual Results: Mozilla Firefox will be stopped working. Expected Results: Showing a window to stop the script.
Not a security bug; DoS issues with JS are dime-a-dozen whack-a-mole.
Group: core-security
Whiteboard: DUPEME
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.