[Jslib] Pete Collins

Daniel Aquino mr.danielaquino at gmail.com
Thu Apr 19 13:11:42 PDT 2007


This is the same result I get for just about anything I pass in that gets
auto converted by xpconnect...


===== Code =====

var tester = new Object;
tester.name = 'test';
tester.topic = 'test';

Components.classes["@mozilla.org/embedcomp/window-watcher;1"]
                     .getService(Components.interfaces.nsIWindowWatcher)
                     .openWindow( refParent, strUrl, strWindowName,
strWindowFeatures, tester );

====  JS Shell ====

window.arguments
=> [xpconnect wrapped nsISupports]
window.arguments.toSource()
=> [{}]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/jslib/attachments/20070419/9c473c4d/attachment.html 


More information about the Jslib mailing list