Boris Zbarsky wrote:
The code looks ok to me. What does the output look like if you run with memory leak logging (in a debug build; set XPCOM_MEM_LEAK_LOG to a filename of your choice in the environment before starting up). When you quit, are there objects related to this stuff in the leak log?

-Boris


Ooohhhh, I didn't know about XPCOM_MEM_LEAK_LOG env var, I'll have to give that a shot! I redid that function differently...I got the nsIBoxObject from the nsIDOMNSDocument::GetBoxObjectFor () and was able to get X, Y, Width and Height that way and then modify as needed. Anyways, it's been running for about 7 min now with no abnormalities that I can see. I'm predicting I'll need to use that other method sooner or later to get other properties, so I'll do as you suggested and see if anything odd pops up. I'm still very curious about why it was causing issues. Much thanks for taking the time to look over my code!

Niky Williams
_______________________________________________
mozilla-embedding mailing list
mozilla-embedding@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to