Closed
Bug 29052
Opened 25 years ago
Closed 24 years ago
doc.open->doc.write->doc.close in onLoad handler casues crash
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
VERIFIED
FIXED
People
(Reporter: rginda, Assigned: jst)
Details
(Keywords: crash)
Attachments
(2 files)
The attached testcase crashes mozilla. Steps to reproduce: 1) save the attached files as docwrite.html and docwrite.css 2) start mozilla and load docwrite.html?onload (the ?onload tells the testcase to execute doOpen, doWrite, doClose, and doLocate in the on load handler) 2) mozilla crashes. Points of interest: 1) try loading docwrite.html without the ?onload click, in order, open, write, close mozilla will not crash. 2) in docwrite.html, change var writeStyle = true; to var writeStyle = false; load docwrite.html?onload mozilla will not crash
Reporter | ||
Comment 1•25 years ago
|
||
Reporter | ||
Comment 2•25 years ago
|
||
Comment 3•25 years ago
|
||
vidur: sounds like a generic document.write() bug. do you know about this? if not, i'm willing to poke at it for a while.
Comment 5•25 years ago
|
||
Seems to work for me on Windows on a 2/28/2000 build. Rob says he'll get an updated linux build for me to test on.
Comment 6•25 years ago
|
||
Seems to work for me on Linux as well. Tempted to mark this WORKSFORME, but I'll wait till Rob can confirm.
Reporter | ||
Comment 7•25 years ago
|
||
Thanks for waiting. My build is about done, I'll see what's the dillio.
Reporter | ||
Comment 8•25 years ago
|
||
I SURE this used to crash! Oh well. It seems to work now, as does bug 29053. Marking both WORKSFORME.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
Reporter | ||
Comment 9•25 years ago
|
||
Vidur, I think I found the problem here. The I attached the testcase with var writestyle=false, which doesn't crash the browser. Could you verify that setting writestyle=true and running the testcase crashes for you?
Reporter | ||
Comment 10•25 years ago
|
||
Re-opening. Change writeStyle=false to writeStyle=true in the testcase to see the crash.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Reporter | ||
Comment 11•25 years ago
|
||
Changing to DOM 0, reassigning to component owner.
Assignee: vidur → jst
Status: REOPENED → NEW
Component: Event Handling → DOM Level 0
QA Contact: janc → desale
Assignee | ||
Comment 12•24 years ago
|
||
This appears to be fixed now, I tested changing the writeStyle but no crash, marking FIXED.
Status: NEW → RESOLVED
Closed: 25 years ago → 24 years ago
Resolution: --- → FIXED
Comment 13•24 years ago
|
||
Robert, do you want to verify this one ? I don't see crash, but you'd be better person to verify.
You need to log in
before you can comment on or make changes to this bug.
Description
•