Kok Hoor , SolutionX wrote:
> Hi,
> 
>     I am only getting an nsISupports as the subject when the observers
> receive the notification. My question is, how should I QueryInterface on
> the subject to retrieve either a:
> 
>     1. Javascript object
>     2. Javascript array
>     

If I understand you correctly, you'll need to QI to 
nsIXPConnectJSObjectHolder and then access the JSObject property via 
GetJSObject. That will give you a JSObject*. Are you looking for 
JSObject pointer?

David


Reply via email to