Closed Bug 743426 Opened 13 years ago Closed 12 years ago

javascript console hangs when entering "document.body.innerHTML."

Categories

(DevTools :: Console, defect)

7 Branch
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 17

People

(Reporter: kamathln, Unassigned)

References

Details

(Keywords: hang, regression, Whiteboard: [fixed by bug 775812])

User Agent: Mozilla/5.0 (X11; Linux i686; rv:13.0a1) Gecko/20120201 Firefox/13.0a1 Build ID: 20120201031146 Steps to reproduce: 1) Opened the URL http://en.wikipedia.org/wiki/Latin-derived_alphabet 2) opened the web console (ctrl-shift-k) 3) entered document.body.innerHTML. (note the dot at the end) Actual results: browser hung indefinitely dont know if this hapens for other sites .. Expected results: browser should have continued working ..
I can reproduce on other page such as https://developer.mozilla.org/En/Code_snippets . This happens since Firefox7. And I got Unresponsive script dialog as follow 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. Script: resource:///modules/AutocompletePopup.jsm:198 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. Script: resource:///modules/AutocompletePopup.jsm:300 Regression window: Cannot reproduce: http://hg.mozilla.org/mozilla-central/rev/0577771f2065 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0a1) Gecko/20110624 Firefox/7.0a1 ID:20110624082701 Can reproduce: http://hg.mozilla.org/mozilla-central/rev/0421a3198a3c Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0a1) Gecko/20110624 Firefox/7.0a1 ID:20110624115816 Pushlog: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=0577771f2065&tochange=0421a3198a3c Suspected: Bug 651501
Blocks: 651501
Status: UNCONFIRMED → NEW
Component: Untriaged → Developer Tools: Scratchpad
Ever confirmed: true
OS: Linux → All
QA Contact: untriaged → developer.tools.scratchpad
Version: 13 Branch → Trunk
Component: Developer Tools: Scratchpad → Developer Tools: Console
QA Contact: developer.tools.scratchpad → developer.tools.console
Hardware: x86 → All
Severity: normal → critical
Keywords: hang, regression
Version: Trunk → 7 Branch
I experienced the same issue with "document.body.outerHTML.".
I tried both: document.body.outerHTML. and document.body.innerHTML. on https://developer.mozilla.org/En/Code_snippets with Nightly 17.0a1 (2012-08-01) & Windows XP mode and couldn't reproduce. Then tried both on the same website, however this time on FF v14.0.1, Windows 7 Ultimate, and was able to reproduce both times. The first time I terminated FF soon after. On the second time I got the unresponsive script warning, with error message: "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. Script: resource:///modules/AutocompletePopup.jsm:198"
Thanks for testing. This is fixed by bug 775812.
Status: NEW → RESOLVED
Closed: 12 years ago
Depends on: 775812
Resolution: --- → FIXED
Whiteboard: [fixed by bug 775812]
Target Milestone: --- → Firefox 17
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.