For anyone else banging their head on this particular wall:

https://bugzilla.mozilla.org/show_bug.cgi?id=533245#c13

In short the solution is to implement GetVisibility like this:

NS_IMETHODIMP WebBrowserChrome::GetVisibility(PRBool * aVisibility)
{
    NS_ENSURE_ARG_POINTER(aVisibility);
    *aVisibility = PR_TRUE;
    return NS_OK;
}

rather than like this:


NS_IMETHODIMP WebBrowserChrome::GetVisibility(PRBool * aVisibility) {
 if(! m_pBrowserFrameGlue)
return NS_ERROR_FAILURE;

m_pBrowserFrameGlue->GetBrowserFrameVisibility(aVisibility);

return NS_OK;
}




_______________________________________________
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to