Skip to content

Commit 4ecdf0c

Browse files
committed
XMLHttpRequest does not have a close method
1 parent 0e0084b commit 4ecdf0c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
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
};

0 commit comments

Comments
 (0)