From: Alan Knowles Date: Sun, 27 May 2012 07:45:51 +0000 (+0800) Subject: tests/soup.js X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=25c257dde921c6e36405d38637c14544e000d29b tests/soup.js --- diff --git a/tests/soup.js b/tests/soup.js index 40ed81dc..3959ae78 100644 --- a/tests/soup.js +++ b/tests/soup.js @@ -82,7 +82,8 @@ XObject.extend(XMLHttpRequest,{ user = user || false; password = password || false; - + this._session = async ? new Soup.SessionAsync() : new Soup.SessionSync(); + var uri = new Soup.URI.c_new(url); this._message = new Soup.Message({method: method, uri:uri});