Closed
Bug 5206
Opened 25 years ago
Closed 25 years ago
Crash loading XUL if stylesheet not found
Categories
(Core :: XUL, defect, P3)
Tracking
()
M10
People
(Reporter: sfraser_bugs, Assigned: hyatt)
Details
I was loading a XUL file which referred to a non-existent stylesheet.
This is easily reproduced by changing the line
<?xml-stylesheet href="xul.css" type="text/css"?>
in navigator.xul to point to a nonexistent stylesheet.
It crashes in nsDocumentBindInfo::OnStopBinding(), in the
NS_IF_RELEASE(m_NextStream); because m_NextStream has been freed already. The
free occurs because of a refCounting problem at
NS_RELEASE(aLoader) in XULContentSinkImpl::DoneLoadingStyle(), presumably
because an initial addref was not done when loading the stylesheet failed.
Reporter | ||
Updated•25 years ago
|
Hardware: Macintosh → All
Summary: Crash in XULContentSinkImpl if stylesheet not found → Crash loading XUL if stylesheet not found
Reporter | ||
Comment 1•25 years ago
|
||
Improved summary.
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M6
Assignee | ||
Updated•25 years ago
|
Target Milestone: M6 → M10
Reporter | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
BULK MOVE: Changing component from XUL to XP Toolkit/Widgets: XUL. XUL
component will be deleted.
Component: XUL → XP Toolkit/Widgets: XUL
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: gerardok → xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•