Judson Valeski wrote:
> Conrad Carlen wrote:
>
>> Judson Valeski wrote:
>>
>>> no guide.
>>>
>>
>>
>> -snip-
>>
>>
>>> > Method callback translation looks like this...
>>>
>>> nsIDocumentLoaderObserver method -> nsIWEbProgressListener method
>>> (I'm offline right now so don't have access to the exact method
>>> names; sorry)
>>> OnDocumentStart() -> OnStateChange()-STATE_IS_DOCUMENT & STATE_START
>>> OnDocumentEnd() -> OnStateChange()-STATE_IS_DOCUMENT & STATE_STOP
>>
>>
>>
>>
>> On these two, instead of STATE_IS_DOCUMENT, isn't it STATE_IS_NETWORK?
>> STATE_IS_NETWORK has been working for me but does anybody know exactly
>> what the difference is?
>
>
> rpotts would know for sure. my understanding is that DOCUMENT is when
> the document is done being constructed and that NETWORK is when
> networking IO is done.
Right. If you wait for the NETWORK to stop then you will have all the
images filled in, etc.
--Chris
>
> Jud
>
>>
>>
>> -Conrad
>>
>>
>>> OnURIStart() -> OnStateChange()-STATE_IS_REQUEST & STATE_START
>>> OnURIEnd() -> OnStateChange()-STATE_IS_REQUEST & STATE_STOP
>>>
>>> Those are really the only translations I came across, hopefully you
>>> get the idea from this though. Full nsIWebBrowserListener
>>> documentation doesn't exist AFAIK. rpotts knows how all the methods
>>> get fired.
>>>
>>> I hope this helps,
>>> Jud
>>>
>>>
>>
>>
>>
>