Closed Bug 302341 Opened 19 years ago Closed 5 years ago

XULDocument gets docshell via presContext

Categories

(Core :: XUL, defect)

x86
Linux
defect
Not set
normal

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...
No, that should be fine...  I bet it's just using the prescontext because
someone wrote it that way. :(
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

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.