[crossposting to .dom and setting followup to there]
Christian Biesinger wrote:
Richard wrote:
it goes into a totally unrelated function inside nsDocument.cpp (in
the above case GetNumberOfStyleSheets()).
Ah, I think I figured it out. I assume you are not defining
MOZILLA_INTERNAL_API. In such a case, all functions on nsINode are
ifdeffed out, so the compiler picks the wrong vtable entry when calling
nsIDocument functions (as nsIDocument is a subclass of nsINode).
That seems bad....
I filed a bug on this issue:
https://bugzilla.mozilla.org/show_bug.cgi?id=337365
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding