SelfRegisterDll Load FAILED with error: Unknown error: -2804

2006-04-08 Thread steve . lu
Hi, Has anyone seen this type of error before? This happens when my embedding app tries to AutoRegister XPCOM components. This is for MacOSX (10.4) embedding against FF 1.5.0.1 code base. nsNativeComponentLoader: autoregistering begins. nsNativeComponentLoader: SelfRegisterDll(libcaps.dylib)

Embedded browser's form post got split into two tcp packets

2008-03-28 Thread steve lu
Hi All, While testing my embedded browser (Firefox 2.0.0.6 code base), I ran across this site that consistently fails. The site is Flixster.com and it uses cookie to verify the characters in an image. (to counter automatically generated registration requests.). In my embedded browser, the

Re: Embedded browser's form post got split into two tcp packets

2008-03-28 Thread steve lu
Boris Zbarsky wrote: steve lu wrote: While testing my embedded browser (Firefox 2.0.0.6 code base), Yeah, this is a known issue in Gecko 1.8: the packet boundaries can be a little weird for HTTP (esp over SSL). We tried to fix it, but sites broke. We're hoping the changes

Re: Problem with gmail on embedded browser

2008-05-01 Thread steve lu
Does the video loads and play automatically if you visit this page in your embedded browser? http://www.cnn.com/video/#/video/crime/2008/05/01/pkg.pregnant.woman.dui.baynews9 I believe the Gmail issue is caused by not able to write to your cookie by the web site (exactly what happened in the

Re: How to call the embedding application from the embedded Javascript ?

2008-11-06 Thread Steve Lu
Philippe Torrelli wrote: Hi there, I'm trying to call a function of my embedding app from the javascript in the embedded gecko. This is with the embedding sample from pelle Johansen, and a firefox 3.1 build. The XRE_InitEmbedding functions lets you initialize with static modules that

Re: How to get the event when embedded browser close by javascript

2009-01-05 Thread steve lu
sonicfly wrote: Hi, could you guys tell me how to hook the event or notification when the embedding browser is going to be closed by javascript in the page. ___ dev-embedding mailing list dev-embedding@lists.mozilla.org

Re: OnStateChange not called when navigating locally?

2009-07-22 Thread steve lu
Prehaps you are casting it to a nsIHttpChannel first? // don't want to do this nsCOMPtr nsIHttpChannel httpChannel = do_QueryInterface( request ); NS_IMETHODIMP Browser::OnStateChange( nsIWebProgress* progress, nsIRequest* request, PRUint32 progressStateFlags, nsresult status ) {

Re: How to raise events from plugins and receive it in embedding application?

2009-08-21 Thread steve lu
Look up these interfaces: nsIObserver and nsIObserverService. This is how Firefox notify all XPCOM components that it is about to shutdown. Steve ra wrote: Hi all, I have embedded gecko 1.8.1 into a MFC application. There are also some custom XPCOM plugins. The plugins should send events

Re: unable to write in textbox/text area

2009-12-14 Thread steve lu
Did you do this? nsCOMPtr nsIWebBrowserFocus focus( do_GetInterface( mWebBrowser ) ); focus-Activate(); Steve testols ols wrote: On Dec 11, 4:23 pm, testols ols testing...@gmail.com wrote: I have embedded Xulrunner into my native application. The webpage opens up in xulrunner browser