Jonathan Watt wrote:

Actually it is for something similar. I want to prevent JS code from passing SVG objects that are not implemented by the C++ SVG code to functions on SVG objects that expect one. Specifically, as shown in bug 164049, I want to make sure that the underlying implementation of the nsISVGMatrix passed to nsSVGTransform::SetMatrix() is an nsSVGMatrix object. Would you be able to point me in the direction of the relevant

QI the object to nsISVGValue. That is a pseudo-interface implemented by nsSVGMatrix that a JS object can't implement.


--BDS
_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to