Hello, I'm trying to embed Gecko into my linux application. So far have problem with creation of nsWebBrowser instance: webBrowser = do_CreateInstance(NS_WEBBROWSER_CONTRACTID, &rv); it always return 0xc1f30001 (which means NOT_INITIALIZED).
but I did initialization after winEmbed code: getting of paths for binaries and then for XRE_LockProfileDirectory XRE_InitEmbedding2 XRE_NotifyProfile also in console (with debug build) I can see a lot of strings like: WARNING: XPCOM objects created/destroyed from static ctor/dtor: file / home/snv/mozilla-8.0.1/xpcom/base/nsTraceRefcntImpl.cpp, line 172 and calling of XRE_InitEmbedding2 print into console: ###!!! ASSERTION: This is not supposed to fail!: 'Error', file /home/ snv/mozilla-8.0.1/js/src/xpconnect/src/nsXPConnect.cpp, line 984 ###!!! ASSERTION: Failed to initialize nsScriptSecurityManager: 'NS_SUCCEEDED(rv)', file /home/snv/mozilla-8.0.1/caps/src/ nsScriptSecurityManager.cpp, line 3455 need help in fixing the issues. thanks. _______________________________________________ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding