ariya/phantomjs — pull request #306 by igrigorik (2012-08-26 19:35:50+00:00)
Title: Add missing pageref attribute to HAR and end-time

The pageref attribute is required to associate the requests with the appropriate pages. Without it, many tools fail to interpet the data.

Also, added the "onLoad" timer, albeit I'm not 100% sure that the way I have it there is the best way to do it. I tried adding an `onLoadFinished` callback, but for whatever reason, it just didn't want to fire. Any tips?

Also, I'd love to surface other data such as `onDomContentLoaded` - is there any way to register this callback? Or, alternatively, is there any way to get access to the performance timing data from phantom? Does the QT port support it?