Hi Honza, Thank you for your ability to react.
If I well understood, Firefox creates some events like http-on-modify- request and http-on-examine-response, the HttpRequestObserver from firebug-http-observer.js catchs them and calls the HttpObserver observe method from net.js, isn't it ? Thank you for your answer. Jérémy On 17 mar, 16:01, Jan Odvarko <[email protected]> wrote: > 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). > Seehttp://code.google.com/p/fbug/source/browse/branches/firebug1.4/compo... > > 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 -~----------~----~----~----~------~----~------~--~---
