Thanks, Jonathan _______________________________________________ Mozilla-xpcom mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpcom
According to www.mozilla.org/scriptable/faq.html#i12 , when a native
method called from Javascript expects nsIFoo but gets passed a JS object
such as {} or [], the JS object gets wrapped as if it implemented the
required interface. Is it possible for the native C++ code to detect
that it doesn't have a genuine nsIFoo so it can enforce the requirement
that objects passed to it be genuine nsIFoo objects. Or to do this would
the xpconnect code need to be changed somehow?
- Re: Determining the underlying implementation of an o... Jonathan Watt
- Re: Determining the underlying implementation of... Benjamin D. Smedberg
- Re: Determining the underlying implementatio... Jonathan Watt
- Re: Determining the underlying implement... Benjamin D. Smedberg
- Re: Determining the underlying imple... mark kaplun
- Re: Determining the underlying ... Benjamin D. Smedberg
- Re: Determining the underly... mark kaplun
- Re: Determining the und... Jonathan Watt
- Re: Determining the underlying imple... Jonathan Watt
