Closed Bug 522335 Opened 10 years ago Closed 10 years ago
Frame Loader::Try New Process fails because ancestor View->Get First Child is null
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.
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).
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.
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: 10 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.