Closed
Bug 522335
Opened 15 years ago
Closed 15 years ago
Fennelectrolysis: nsFrameLoader::TryNewProcess fails because ancestorView->GetFirstChild is null
Categories
(Core :: IPC, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: benjamin, Assigned: benjamin)
References
Details
Attachments
(2 files)
6.23 KB,
patch
|
Details | Diff | Splinter Review | |
6.65 KB,
patch
|
Details | Diff | Splinter Review |
Trying to get Fennec + Electrolysis displaying something using joe's asycDrawXULElement patch. After much other interestingness, nsFrameLoader::TryNewProcess is failing because the call ancestorView->GetFirstChild is returning null. This is really high priority. Assigning to me for the moment, but I don't know my way around this code very well and could use some help. I'm using attachment 406130 [details] [diff] [review] from bug 505847, plus additional patches for electrolysis and mobile-browser which I will attach. I'm testing on Linux currently; I'll try on Windows in a bit.
Assignee | ||
Comment 1•15 years ago
|
||
http://mxr.mozilla.org/projects-central/source/electrolysis/content/base/src/nsFrameLoader.cpp#1178 To expand on comment 0, this is probably because the xul:browser element in Fennec is not displayed (visibility:hidden according to #mobile).
Assignee | ||
Comment 2•15 years ago
|
||
Assignee | ||
Comment 3•15 years ago
|
||
This is patch against mobile-browser to not use any methods that require a docshell.
That inner view should have been created and inserted here: http://mxr.mozilla.org/projects-central/source/electrolysis/layout/generic/nsFrameFrame.cpp#990
You should also check that your "ourFrame" is an nsSubdocumentFrame.
Assignee | ||
Comment 6•15 years ago
|
||
Thanks. Part of commenting out the docshell stuff in nsSubDocumentFrame caused us not to create the view. I've rejiggered it and I'm getting closer.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•