Re: xpcom supported

2014-06-02 Thread savani1amazon
in above code i get exception Components.classes not defined. when i try to put simple code in the html file ( loaded via a menu option of the extension ) try { var Cc = Components.classes["@amazon.com/MyComponent;1"]; alert("Cc" + Cc); } catch (errr){ alert(errr) } _

Re: xpcom supported

2014-06-02 Thread savani1amazon
Thank you i see no messages indicating whether it loaded in browser console this simply means that its not getting picked up? are these correct configurations ? chrome.manifest --- content helloworld content/ resource helloworld content/ interfaces components/MyComponent

Re: xpcom supported

2014-06-02 Thread Benjamin Smedberg
On 6/2/14, 2:38 PM, savani1ama...@gmail.com wrote: developing .so / dylib / .dll using xulrunner sdk and then calling it in extension in javascript is that still supported. i see very poor documentation on the web on it. and no good working example. Savani, you have posted variants of this same

xpcom supported

2014-06-02 Thread savani1amazon
developing .so / dylib / .dll using xulrunner sdk and then calling it in extension in javascript is that still supported. i see very poor documentation on the web on it. and no good working example. can someone confirm latest xulrunner sdk supports and an extension can be developed using c++ xpc