jerrytal...@gmail.com wrote:
In the debugger, the mRawPtr for doc is not garbage: I'm not entirely
sure how to poke around more.  I'm using xulrunner-1.9-dev on Ubuntu
8.10.

In gdb, "set print object on" and then see what it claims the mRawPtr to be.

Does the crash happen at this call, or somewhere inside CreateElement?

When we drop the code that we *actually* want to run into the
DocumentLoaded callback, nothing crashes, but GetElementsByTagName
always returns a node list with 0 elements (see
http://groups.google.com/group/mozilla.dev.embedding/browse_thread/thread/b9246695da9a2f94/655796336aeaf6c9?lnk=raot#655796336aeaf6c9).

Right. For what it's worth, looking at where DocumentLoaded is called, it really should be equivalent to the JS onload event.

-Boris
_______________________________________________
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to