Closed Bug 720184 Opened 12 years ago Closed 11 years ago

Typing "document.body.innerHTML." in the WebConsole freeze Firefox

Categories

(DevTools :: Console, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: sonny, Unassigned)

Details

1) Open any web page
2) Open the web console
3) Type document.body.innerHTML (everything is fine by now)
4) add "." at the end of document.body.innerHTML -> Firefox freezes
(GCLI disabled)
The innerHTML needs to be huge. (try on bbc.com for example)

The reason is that the completion try to list all the keys of the string array.

Questions
Should it not occur only when typing innerHTML[ ?
Do we have something to avoid the case where there are too many keys to list? If no, it would be nice to have.
I think checking the amount of time that has elapsed like dcamp's patch in bug 700194 does would be perfect. Dave, can UpdateProcess be moved to a devtools/shared module?
Bug triage. Filter on PEGASUS.
Priority: -- → P2
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Not a duplicate of bug 718857
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
This seems to WFM. Can anyone repro?
Flags: needinfo?(sonny.piers)
Thanks for testing. Marking as WFM. This bug has been fixed, but I am not sure when. Sonny, please reopen the bug if you find otherwise.
Status: REOPENED → RESOLVED
Closed: 12 years ago11 years ago
Flags: needinfo?(sonny.piers)
Resolution: --- → WORKSFORME
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.