How do I detect if two JS wrapped XPCom Objects refer to the same XPCom object?

For example in Javascript:

anXULElement.previousSibling.nextSibling is not === anXULElement nor is it ==.

The JS wrapper objects refer to a common XPCOM object (in this case the XULELement). How do I check for equality of objects referenced?

Mozilla-xpcom mailing list

Reply via email to