Created attachment 652566 [details] [diff] [review] patch this simplifies CC handling so that all the generated classes have the CC related macros and forward calls to parent, eventually nsDOMEvent which is anyway cycle collectable.
Created attachment 652570 [details] example .cpp This is an example .cpp when I added nsIDOMClose2Event which inherited nsIDOMCloseEvent, and nsIDOMClose3Event which inherited nsIDOMClose2Event. (2 and 3 added foobar2 and foobar3 properties, and to test CC stuff, I added also target2 and target3)
Ted, with this patch the patch you wrote earlier today isn't needed to fix CCable member variable issue you got.
If you just want to dupe bug 783234 to this, that's fine. I haven't landed it yet.
Depends on when khuey might have time to review this. Or you can review this too ;)