Current time: 10-01-2014, 03:57 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Logic for intercepting the requests and responses in Firefox Addon
01-11-2013, 05:44 PM
Post: #1
Logic for intercepting the requests and responses in Firefox Addon
Hi,

There is a Firefox addon in the profile directory agents/templates/Firefox.
Where is the logic for calculating Time to first byte, content Download, Server IP etc for embedded content.

I see that nsIWebProgressListener has been used but I am not able to find the code for calculating above.

Thanks.
Find all posts by this user
Quote this message in a reply
01-12-2013, 12:58 AM
Post: #2
RE: Logic for intercepting the requests and responses in Firefox Addon
Moved out of the WPT Monitor area...

The timings are not recorded from the extension. The extensions are only used to drive the browser navigation, interact with the DOM and get notifications when the page load is complete.

The core of webpagetest's logic is in wpthook.dll which is injected into the browser process and intercepts the networking API calls.
Visit this user's website Find all posts by this user
Quote this message in a reply
01-12-2013, 08:01 PM
Post: #3
RE: Logic for intercepting the requests and responses in Firefox Addon
Thanks Patrick.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)