projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
682da4e
)
tests/soup.js
author
Alan Knowles
<alan@roojs.com>
Sun, 27 May 2012 07:45:51 +0000
(15:45 +0800)
committer
Alan Knowles
<alan@roojs.com>
Sun, 27 May 2012 07:45:51 +0000
(15:45 +0800)
tests/soup.js
patch
|
blob
|
history
diff --git
a/tests/soup.js
b/tests/soup.js
index
40ed81d
..
3959ae7
100644
(file)
--- 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});