Skip to content

Commit 16c5520

Browse files
committed
Merge pull request #57 from tomhughes/request-protocol
Fix issues in test-request-protocols
2 parents a8a8074 + 4ecdf0c commit 16c5520

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

tests/test-request-protocols.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ xhr = new XMLHttpRequest();
88
xhr.onreadystatechange = function() {
99
if (this.readyState == 4) {
1010
assert.equal("Hello World", this.responseText);
11-
this.close();
1211
runSync();
1312
}
1413
};
@@ -25,7 +24,6 @@ var runSync = function() {
2524
xhr.onreadystatechange = function() {
2625
if (this.readyState == 4) {
2726
assert.equal("Hello World", this.responseText);
28-
this.close();
2927
sys.puts("done");
3028
}
3129
};

tests/testdata.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Hello World
1+
Hello World

0 commit comments

Comments
 (0)