WebPagetest Forums
wrong result for firefox in xmlResult file - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Bugs/Issues (/forumdisplay.php?fid=10)
+--- Thread: wrong result for firefox in xmlResult file (/showthread.php?tid=11519)



wrong result for firefox in xmlResult file - wushi - 08-06-2012 07:37 PM

hi,

thank you for providing such a great tool!
I was tested the same URL by IE8 and firefox,then I compared the result in the xmlResult file. I found that something were diffrent from each other.

IE8: http://www.webpagetest.org/xmlResult.php?test=120806_ZZ_7YE
<domElements>2716</domElements>

but Firefox: http://www.webpagetest.org/xmlResult.php?test=120806_YF_80B
<domElements>0</domElements>

I think it is a bug, the result for firefox(maybe chrome) is wrong.
I found other different result such as <loadEventStart> <loadEventEnd> <domContentLoadedEventStart> <domContentLoadedEventEnd> ...

Thank you very much for your help!

Regards,
wushi


RE: wrong result for firefox in xmlResult file - pmeenan - 08-06-2012 10:02 PM

Counting of the DOM elements hasn't been implemented in the Chrome/Firefox agent which is why you're seeing the difference.


RE: wrong result for firefox in xmlResult file - wushi - 08-06-2012 10:23 PM

Patrick,thanks so much for the response.
But, why it hasn't been implemented in the Chrome/Firefox agent? Is it a bug, or what can I do to make it correctly?
I set up a private instance, and the same error happened neither...

Regards,
wushi


RE: wrong result for firefox in xmlResult file - pmeenan - 08-06-2012 10:38 PM

You're welcome to provide a code patch that implements the support :-)

The Chrome extension is here: http://webpagetest.googlecode.com/svn/trunk/agent/browser/chrome/
The Firefox extension is here: http://webpagetest.googlecode.com/svn/trunk/agent/browser/firefox/
And the glue code that drives the browsers is here: http://webpagetest.googlecode.com/svn/trunk/agent/wpthook/

It hasn't been implemented "yet". It's on the todo list but there are a fair number of features in the legacy IE agent that just haven't been implemented yet in the newer agent (you'll notice that Page Speed isn't integrated either for example).


RE: wrong result for firefox in xmlResult file - braincracking - 08-07-2012 07:08 PM

Is there a documentation or a process description for people to contribute to the agents ?


RE: wrong result for firefox in xmlResult file - wushi - 08-10-2012 07:33 PM

hi Patrick,

My question is the same as braincracking.
A documentation or a process description is warmly welcome.

Regards,
wushi


RE: wrong result for firefox in xmlResult file - pmeenan - 08-11-2012 04:21 AM

Process for actually contributing code or system architecture/process?

For contributing code you email me patch files and then after I'm comfortable that you're comfortable with the code you can get commit rights.

As far as the system itself goes, there are some exceptionally-high-level diagrams here: https://sites.google.com/a/webpagetest.org/docs/system-design/overview with a lot of todo's to create more docs. If there's a particular area you're interested in just let me know and I'll force myself to start creating the docs :-)