I had the same problem in the ActiveX control and discovered it was because my
nsIURIContentListener methods IsPreferred and CanHandleContent were
unimplemented. I copied the implementation from nsWebBrowser.cpp into the control
and it works again.

See my recent 1.38 check-in to WebBrowserContainer.cpp:

http://lxr.mozilla.org/seamonkey/source/embedding/browser/activex/src/control/WebBrowserContainer.cpp

It would be nice if the web browser object used its own routines if the embedders
implementation of IsPreferred or CanHandleContent returned
NS_ERROR_NOT_IMPLEMENTED.

Adam

John Turnipseed wrote:

> What is the status of nsIURIContentListener::OnStartURIOpen?
>
> In the most recent builds, my content listener routine is no longer
> being called when a link is clicked.  Don't know when it broke as I've
> just updated the mozilla libraries I link against for the first time in
> a few months.
>
> I noted the removal of the WindowTarget parameter. Has anything else
> changed with regard to ContentListeners?
>
> Any pointers are appreciated.
>
> --
> -=- John
> _____________________________________________________________________________
> John Turnipseed        | "If you had to identify, in one word, the reason
> Mac Driver/Programmer  |  why the human race has not achieved, and never
> [EMAIL PROTECTED]    |  will achieve, its full potential, that word
> [EMAIL PROTECTED]     |  would be: 'MEETINGS.'" -- Dave Barry

Reply via email to