Norbert Püschel wrote: > Well, I have checked that interface. Unfortunately it doesn't tell how > to pass objects, only strings and numbers.
65 /** 66 * A place where you can store an nsIMutableArray to pass nsISupports 67 */ 68 attribute nsIMutableArray objects; > OK, I want to use exiting code that references window.arguments[0].abURI > (a string) and window.arguments[0].card (a nsIAbCard). In that case, window.arguments[0] needs to be an instance of an interface that has those properties on it.... > How does window.openDialog() manage this It uses a totally different codepath (passing an argument array to nsPIWindowWatcher::OpenWindowJS, and having that array implement nsIJSArgArray, etc). > And who designs such weird interfaces... ;-) See CVS blame. ;) -Boris _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
