Anup wrote:
* Call to xpconnect wrapped JSObject produced this error:  *
[Exception... "'[JavaScript Error: "Cc['@mozilla.org/widget/idleservice;1'] is undefined" {file: 
"file:///home/anup/Mozilla/MohansMoz/moz_dfb/mozilla-central/obj-dfb/dist/bin/components/nsBrowserGlue.js" line: 413}]' when 
calling method: [nsIObserver::observe]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: 
"<unknown>"  data: yes]

Sounds like you're not picking up any version of nsIdleService. This can happen if MOZ_ENABLE_GTK2 is not defined, or if neither NS_OSSO nor MOZ_X11 is defined. I'd suspect your fall into this last case.

I don't know whether this is sufficient to cause your problem, but
certainly the fact that this code breaks on lack of an idle service (instead of silently falling back to some other bookmark archiving mechanism) should be filed as a bug.

WARNING: NS_ENSURE_TRUE(browserChrome) failed: file 
/home/anup/Mozilla/MohansMoz/moz_dfb/mozilla-central/docshell/base/nsDocShell.cpp,
 line 9099

This is really bad. This means that the treeOwner didn't hand back an nsIWebBrowserChrome from GetInterface. I suggest stepping into this call and seeing what's going on. If this fails, there is no window to run script against, and nothing will work (including in particular no XBL binding, etc).

JavaScript error: chrome://browser/content/tabbrowser.xml, line 2518: 
this.mPanelContainer.childNodes[0] is undefined

Presumably because of the earlier errors setting up the frameloader.... In any case, I'd start by sorting out the browserChrome thing first.

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

Reply via email to