Assignee: harishd → heikki
So this only occurs if you type that funny URL in the URLbar? Or do we crash if that URL is embedded in the page as well?
Priority: -- → P1
Target Milestone: --- → mozilla0.9.3
I just attached a stack trace that I got from a crash using the testcase, using a linux cvs build from this afternoon.
OS: Windows NT → All
Target Milestone: mozilla0.9.3 → mozilla0.9.4
document.load() tries to load document as data, so it is no wonder there are problems with this usage scenario. I have a fix to the crash, but I don't like it... The idea in the fix is: in XML content sink DidBuildModel() where we normally call StartLayout() check the parser command and if it is "loadAsData" don't call StartLayout(). The reason why I don't like it is that for typical document.load() calls embedded in scripts things just work even without this hack. I have not yet tracked down why this usase pattern here causes these problems...
Priority: P1 → P2
Target Milestone: mozilla0.9.4 → mozilla0.9.5
Target Milestone: mozilla0.9.5 → mozilla0.9.6
Target Milestone: mozilla0.9.6 → mozilla0.9.8
Target Milestone: mozilla0.9.8 → mozilla0.9.9
Target Milestone: mozilla0.9.9 → mozilla1.0
Moving Netscape owned 0.9.9 and 1.0 bugs that don't have an nsbeta1, nsbeta1+, topembed, topembed+, Mozilla0.9.9+ or Mozilla1.0+ keyword. Please send any questions or feedback about this to email@example.com. You can search for "Moving bugs not scheduled for a project" to quickly delete this bugmail.
Target Milestone: mozilla1.0 → mozilla1.2
*** Bug 141245 has been marked as a duplicate of this bug. ***
16 years ago
Target Milestone: mozilla1.2alpha → Future
Summary: crash at nsXMLContentSink::RefreshIfEnabled when calling Document.load() → crash [@ nsXMLContentSink::RefreshIfEnabled ] when calling Document.load()
Not seeing any crashes on Windows XP using the attached test case or following the manual procedure to reproduce. Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040316
Clicking #2 in the testcase crashes in a month-old build: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7a) Gecko/20040210 Firebird/0.8.0+ But WFM in a build from this week: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040327 Firefox/0.8.0+
Status: NEW → RESOLVED
Last Resolved: 14 years ago
Resolution: --- → WORKSFORME
Crash Signature: [@ nsXMLContentSink::RefreshIfEnabled ]
You need to log in before you can comment on or make changes to this bug.