Closed
Bug 302341
Opened 19 years ago
Closed 5 years ago
XULDocument gets docshell via presContext
Categories
(Core :: XUL, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: Biesinger, Unassigned)
References
()
Details
So nsXULDocument currently gets its docshell via the presContext. It seems like it'd be easier for it to get it via mScriptGlobalObject->GetDocShell() (like nsDocument.cpp does it), unless there's a reason not to do that...
Comment 1•19 years ago
|
||
No, that should be fine... I bet it's just using the prescontext because someone wrote it that way. :(
Comment 2•19 years ago
|
||
Actually, this looks like it's trying to actually play nice with those hypothetical multiple presentations... So it may be "right" as far as that goes.
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets
Comment 3•5 years ago
|
||
XULDocument is gone. All documents do the right thing now.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•