Hi all

   I am trying to build my own small extension for fun, and also trying to
record the HTTP activities similar as firebug does. such as connecting,
waiting, etc.

   However, when I just use some time intervals between some key events
such as "nsISocketTransport.STATUS_CONNECTED_TO" and
"nsISocketTransport.STATUS_CONNECTING_TO" as "connecting" time, I sometimes
found the time is abnormally much smaller than both firebug and the raw
network traffic. take an example, "connecting time" to google.com page are
normally around *50ms*, but sometimes my value can be as small as *few
milliseconds*.

   such strange smaller value can be happened also for "waiting time",
"resolving time", etc.

   So, did you have similar experiences like that? or, using interface such
as "nsISocketTransport.STATUS_CONNECTED_TO"(or "nsIHttpActivityObserver")
has to pay some special attention?

   could you please give some hints on it?

ps, I did not paste the code since my code is a bit mess(if needed, I can
also paste it as well), but of course I referenced firebug
NetHttpActivityObserver.js most of the time.


thanks a lot
cui

-- 
You received this message because you are subscribed to the Google
Groups "Firebug" group.
To post to this group, send email to firebug@googlegroups.com
To unsubscribe from this group, send email to
firebug+unsubscr...@googlegroups.com
For more options, visit this group at
https://groups.google.com/forum/#!forum/firebug

Reply via email to