Closed Bug 705571 Opened 13 years ago Closed 12 years ago

Scratchpad Code can Crash Firefox

Categories

(DevTools Graveyard :: Scratchpad, defect, P3)

8 Branch
x86
Windows Vista
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: sys.sgx, Unassigned)

Details

(Keywords: crash, qawanted, Whiteboard: [dupeme][slowscript])

User Agent: Mozilla/5.0 (Windows NT 6.0; rv:8.0.1) Gecko/20100101 Firefox/8.0.1 Build ID: 20111120135848 Steps to reproduce: 1. Open Scratchpad 2. Enter the following piece of code: var a = { b: a } for (;;) { console.log(a.b); } 3. Run the code 4. Check the memory usage of the browser Actual results: Firefox becomes unresponsive, crashes or continues to consume memory from the system. Expected results: There should be an option to continue this code with user control.
Severity: normal → major
Component: General → Developer Tools: Scratchpad
Bug triage, filter on PEGASUS.
Priority: -- → P3
we should pop up a slow script dialog for these. Panos tested this and did get a slow script dialog. This might be a problem with machines with lower memory availability. Can we get some testing to confirm that this bug exists in Firefox 8 and up? Thanks.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: qawanted
Whiteboard: [dupeme][slowscript][crash]
Severity: major → critical
Keywords: crash
Whiteboard: [dupeme][slowscript][crash] → [dupeme][slowscript]
Crashed Mozilla and then asked permission to close the script.
I got "Unresponsive Script" dialog in Nightly both on Windows and Mac. Closing.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Product: Firefox → DevTools
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.