On May 24, 4:46 am, timeless <[EMAIL PROTECTED]> wrote:
> On May 17, 6:28 pm, JanakiRam <[EMAIL PROTECTED]> wrote:
>
> > The following Code is used in onload event of StartupWindow.
>
> your problem is here.
>
> DOM Windows are not threadsafe, in fact, none of gecko ui is.
>
> You need to use a component (js components are threadsafe by default).
>

It is not our experience at Songbird that standalone js components may
be called safely from C++ components running off the main thread.  It
was expressed to us that this was not unexpected.  And as a
consequence we've done all of our required-threadsafe work in C++.

YMMV, of course.

mig

_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to