Mozilla streaming on a background thread

2011-08-18 Thread Fizitzky, Annie
Hi, I have a C++ browser application that embeds Mozilla. I am using the nsIInputStream, nsIStreamListener, nsIHttpChannel interfaces to make streaming operations. Until now, my application was single-threaded, and it worked fine. But now I need the streaming to be done on some background

RE: Mozilla streaming on a background thread

2011-08-18 Thread Fizitzky, Annie
+afizitzky=ptc@lists.mozilla.org] On Behalf Of Boris Zbarsky Sent: Thursday, August 18, 2011 4:01 PM To: dev-embedding@lists.mozilla.org Subject: Re: Mozilla streaming on a background thread On 8/18/11 7:50 AM, Fizitzky, Annie wrote: So, I opened a new thread (by calling NS_NewThread) and executed

Problem when migrating from gecko 1.9.1.2 to 2.0

2012-01-26 Thread Fizitzky, Annie
Hi, I have a C++ embedding application, in which I'm using nsIScriptContext:: EvaluateString() to execute JS commands. Under Gecko 1.9.1.2 it works fine, but after migrating it to Gecko 2.0, I get these assersions: 1. JS_ASSERT(!initialVarObj-getOps()-defineProperty); - in jsutil.cpp

RE: Problem when migrating from gecko 1.9.1.2 to 2.0

2012-01-29 Thread Fizitzky, Annie
Of Fizitzky, Annie Sent: Thursday, January 26, 2012 4:49 PM To: dev-embedding@lists.mozilla.org Subject: Problem when migrating from gecko 1.9.1.2 to 2.0 Hi, I have a C++ embedding application, in which I'm using nsIScriptContext:: EvaluateString() to execute JS commands. Under Gecko 1.9.1.2 it works