Timing numbers != Performance

Hello,

Having timing values from the browser natively from the window.performance object is great. But performance is not only a clock ticking, the dimension of availability and error detection is completely missing from the spec. How is it possible to infer from the performance object that there was an error in dns lookup? or that the tcp connection didnt went through? or connection got broken before the object got downloaded?

Would be nice to have a free-form text field where the browser could insert these errors, or a generic error message. HAR spec also had this problem and 1.3 is hopefully going to fix it.

I setup a page with a couple of failure modes, a failed DNS request and a failed TCP connection, that can be used for testing.
http://irl.cs.ucla.edu/~rveloso/hartest/

Cheers,

--Ricardo

ThousandEyes

Received on Thursday, 5 April 2012 23:49:54 UTC