Re: contentID()

2004-07-23 Thread Boris Zbarsky
Mozilla.embedding wrote:
i'm surprised : when i'm walking through the content tree (or dom, it's the
same), i can obtain content ids
incremented exept for text contents whose id = 0.
Does anyone know why ?
Content IDs in general are a hack slated to go away.  They're used for 
accessibility and frame state restoration at the moment, and neither applies to 
text content.

-Boris
___
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding


contentID()

2004-07-23 Thread Mozilla.embedding
Hello !
i'm surprised : when i'm walking through the content tree (or dom, it's the
same), i can obtain content ids
incremented exept for text contents whose id = 0.
Does anyone know why ?

-- 
Béatrice Philippe

[EMAIL PROTECTED]


___
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding


How to find out OnStateChange() belongs to which instance of browser?

2004-07-23 Thread yueweng
Dear all,

I have implemented nsIWebProgressListener.  Hence, OnStateChange()
function is called when message is received.   To my understanding,
all mozilla uses the same memory space thus once only instance of the
dll is loaded.

If I launch more than one browsers, I would like to know how to find
out OnStateChange() belongs to which instance of the browser.
OnStateChange() has two pointer parameter, nsIWebProgress and
nsIRequest.  Can I use either one of these parameter to find out the
instance of the browser?


Thanks for reading and helping,
YueWeng
___
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding


Re: xpti manifest failure

2004-07-23 Thread Mozilla.embedding
Thank you.

-- 
Beatrice Philippe

[EMAIL PROTECTED]
"Oleg E Kertanov" <[EMAIL PROTECTED]> a ecrit dans le message de
news:[EMAIL PROTECTED]
> Mozilla.embedding ÓÏÏÂÝÁÅÔ, ÞÔÏ:
>
> > yes, i saw these lines in the .cpp file. But it still doesn't work !
> > so, what's the best way ? deleting the folowing code in the cpp file ???
> >  LOG_AUTOREG(("FAILED to write manifest\n"));
> >  NS_ERROR("Failed to write xpti manifest!");
>
> i think you can obtain fresh copy of XPCOM directory ("./components")
> from the mozilla distribution or gre.
>
>
> -- 
> [EMAIL PROTECTED]
> One thousand monkeys.
> One thousand MicroVAXes.
> One thousand years.
> X window.


___
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding