add ability to record-replay an HTML5 app using PhantomJS
add XHR test