Closed
Bug 353713
Opened 18 years ago
Closed 16 years ago
Calling document.write on documentElement.innerHTML while the page loads pegs CPU and memory grows
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: sayrer, Unassigned)
References
Details
Attachments
(1 file)
268 bytes,
text/plain
|
Details |
Similar to bug 185945, but much nastier. In the console, this repeats endlessly: JavaScript error: file:///Users/sayrer/Desktop/props.html, line 16: too much recursion ###!!! ASSERTION: GC preservation didn't work: 'Not Reached', file /Users/sayrer/firefox/mozilla/dom/src/base/nsJSUtils.cpp, line 280 ###!!! ASSERTION: listener wasn't preserved properly: 'eventListener', file /Users/sayrer/firefox/mozilla/content/events/src/nsEventListenerManager.cpp, line 1733 JavaScript error: file:///Users/sayrer/Desktop/props.html, line 26: too much recursion ###!!! ASSERTION: GC preservation didn't work: 'Not Reached', file /Users/sayrer/firefox/mozilla/dom/src/base/nsJSUtils.cpp, line 280 ###!!! ASSERTION: listener wasn't preserved properly: 'eventListener', file /Users/sayrer/firefox/mozilla/content/events/src/nsEventListenerManager.cpp, line 1733
Reporter | ||
Comment 1•18 years ago
|
||
Comment 2•16 years ago
|
||
Can't repro.
Comment 3•16 years ago
|
||
I can't reproduce this on trunk either. I see in the error console a bunch of these: Error: uncaught exception: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIDOMNSHTMLDocument.write]" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: http://bsterne/test/bugs/353713/props.html :: <TOP_LEVEL> :: line 24" data: no] Source File: http://bsterne/test/bugs/353713/props.html Line: 24 I'm going to resolve WORKSFORME since neither Lucas or I can repro.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
Updated•16 years ago
|
Flags: in-testsuite+
Comment 5•16 years ago
|
||
I just get 211* WARNING: NS_ENSURE_TRUE(!mTooDeepWriteRecursion) failed: file /Users/jruderman/central/content/html/document/src/nsHTMLDocument.cpp, line 2146 The test takes about 2 seconds, so I optimistically added it to the crashtest suite.
Comment 6•16 years ago
|
||
I had to disable the test due to intermittent orange. I filed 469626 for making a better test.
Flags: in-testsuite+
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•