passing arbitrary object when opening window with windowwatcher

[email protected]
Newsgroups gmane.comp.mozilla.devel.xpfe
Message-ID <565013624.199441.1375774069762.JavaMail.www@wwinf8316>
Hello

I'd rather to give my window a JS object and not an array/nsIArray and i'm trying to use 
the trick described at https://developer.mozilla.org/en-
US/docs/Working_with_windows_in_chrome_code#Example_5.3A_Using_nsIWindowWatcher_for_passi
ng_an_arbritrary_JavaScript_object but it seems it does not work anymore (I'm using 
Xulrunner 22)
The window.argument is a "[xpconnect wrapped nsISupports]" object, and window.argument[0] 
is too. I tried to unwrap() this object without success. I m not used to handle XPConnect 
or XPCOM so I m a bit lost. So, how could I pass a JS object when opening a window with 
windowwatcher ?

Thanks for your help

Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ?
Je crée ma boîte mail www.laposte.net
_______________________________________________
dev-tech-xul mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xul
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.