Home | History | Annotate | Download | only in playback_benchmark

Lines Matching refs:request

195  * window.XMLHttpRequest wrapper. Notifies Benchmark.agent when request is
200 this.request = new Benchmark.originals.XMLHttpRequest();
207 var request = new Benchmark.originals.XMLHttpRequest();
208 for (var property in request) {
210 if (typeof(request[property]) == 'function') {
214 f.apply(this.request, arguments);
220 function() { return this.request[property]; });
223 this.request[property] = value;
251 var event = {type: 'request', method: arguments[0], url: url};
254 var request = this.request;
256 Benchmark.originals.XMLHttpRequest.prototype.open.apply(request, arguments);
257 request.onreadystatechange = function() {
262 callback.call(request);
273 this.request, arguments);
284 * Posts request as json to Benchmark.DRIVER_URL.
285 * @param {Object} request Request to post.
287 Benchmark.post = function(request, async) {
292 xmlHttpRequest.send(JSON.stringify(request));