Closed
Bug 508749
Opened 15 years ago
Closed 15 years ago
Denial of service with document.write loop
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 380223
People
(Reporter: patilkr, Unassigned)
Details
(Keywords: testcase)
Attachments
(1 file)
(deleted),
text/html
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.13) Gecko/2009080315 Ubuntu/9.04 (jaunty) Firefox/3.0.13
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.13) Gecko/2009080315 Ubuntu/9.04 (jaunty) Firefox/3.0.13
following code hangs the Firefox browser
var xyz='';
for(var i=0;i<32000 i++)
document.write(xyz+= String.fromCharCode(i));
The above code is posted on a site ("http://ha.ckers.org/") on 27 July 2009 post.
Reproducible: Always
Steps to Reproduce:
1. start Firefox
2. run above script
3.
Actual Results:
Firefox hangs
Expected Results:
It should show the pop to terminate the JavaScript when it becomes unresponsive.
Comment 1•15 years ago
|
||
probably a dupe but I can't find it at the moment.
Updated•15 years ago
|
Group: core-security
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Keywords: testcase
Resolution: --- → DUPLICATE
Summary: Denial of service → Denial of service with document.write loop
You need to log in
before you can comment on or make changes to this bug.
Description
•