Hi Jérémy,

> I want to know how Firebug is warned about a new HTTP request in Net
> panel. Is it FIrefox that warns Firebug with an event ?
Yes

Firebug observes http-on-modify-request (request started) and http-on-
examine-response (response received) events.

The observer is implemented as an XPCOM so, it can be utilized on
several places within Firebug framework (+ by Firebug extensions). See
http://code.google.com/p/fbug/source/browse/branches/firebug1.4/components/firebug-http-observer.js

Also, you can take a look at this article:
https://developer.mozilla.org/En/Setting_HTTP_request_headers

> don't understand who calls the HttpObserver (line 2766)
So, it's the firebug-http-observer.js

Honza



On Mar 17, 11:24 am, "[email protected]"
<[email protected]> wrote:
> Hi,
>
> Please excuse me for my English because I'm French and my English is
> not very nice.
>
> I want to know how Firebug is warned about a new HTTP request in Net
> panel. Is it FIrefox that warns Firebug with an event ?
>
> I read some files like net.js (chrome://firebug/content/net.js) but I
> don't understand who calls the HttpObserver (line 2766) and what it
> does.
>
> Can you explain to me the different method calls for example with a
> smart graphic.
>
> Thanks a lot,
>
> Jérémy
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to