[Jslib] Pete Collins
pete at mozdevgroup.com
Thu Apr 19 05:07:10 PDT 2007
> This is the common paradigm with window.openDialog and window.open
> Usually you just create an object and pass it in and then access it
> via window.arguments
> If you can get any information would be great...
You should just be able to pass in any js object as js objects by
default are considered type nsISupports which all interfaces inherit from.
var ww = Components.classes["@mozilla.org/embedcomp/window-watcher;1"]
var params = new Object;
openWindow( refParent, strUrl, strWindowName, strWindowFeatures, params);
Pete Collins - Founder, Mozdev Group Inc.
Mozilla Software Development Solutions
More information about the Jslib