Closed
Bug 612170
Opened 14 years ago
Closed 12 years ago
javascript makes firefox freeze
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: joniandervishi, Unassigned)
Details
(Whiteboard: [testday-20120413])
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 Firefox crashes when i execute a javascript at the address bar. ----- javascript:while(1<2){var g; window.open("http://mozilla.org",g,"menubar=no,width=1,height=1,toolbar=no"); g=g+1;} ----- Even if this alert pops up: "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." and i click Stop Script it still doesn't respond P.S: i'm reporting this bug to participate to mozilla bug bounty program. Reproducible: Always
Comment 1•14 years ago
|
||
I get only a simple hang and no crash. Please post a crash ID from about:crashes for this crash.
Reporter | ||
Comment 2•14 years ago
|
||
Hello Matthias, it actually hangs doesn't crash... sorry i didn't explain exactly... anyway i don't think it's just a "simple hang", its a hang that makes firefox unusable if you don't kill the app... i tried in 2 PCs, dual core 2.6 with Windows 7 (CPU Usage: 46-50%) and single core 3.2 Ubuntu 10.10 (CPU USAGE around 70%) so it's not that it hangs because it uses all CPU resources...
Comment 3•14 years ago
|
||
>i don't think it's just a "simple hang", its a hang that makes firefox
>unusable if you don't kill the app
every hang makes the app unusable and you have to kill the application.
This is of course no major security issue. It would be only a DOS if this works on webpages.
Does this also happen if you use this JS in a webpage or only at the URL bar ?
Component: Security → General
QA Contact: firefox → general
Summary: javascript makes firefox crash → javascript makes firefox freeze
Reporter | ||
Comment 4•14 years ago
|
||
it does happen if the js is used in webpage...
Updated•13 years ago
|
Version: unspecified → 3.6 Branch
Comment 5•12 years ago
|
||
cant reproduce on Firefox 11, 12b5,13 and 14 looks like op is not here around, if you can reproduce with latest build, feel free to reopen it!
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Whiteboard: [testday-20120413]
You need to log in
before you can comment on or make changes to this bug.
Description
•