-modify 3 TCs
Change-Id: I3c0c15c2cf12cfd819525c92f2a9ac4711c57682
Signed-off-by: qunfang.lin <qunfang.lin@samsung.com>
xmlHttp.onreadystatechange = callback;
xmlHttp.send(null);
function callback() {
- if (xmlHttp.readyState == 4 && xmlHttp.status == 0) {
+ if (xmlHttp.readyState == 4 && (xmlHttp.status == 0 || xmlHttp.status == 200)) {
t.done();
} else {
assert_unreached("Fail");
xmlHttp.onreadystatechange = callback;
xmlHttp.send(null);
function callback() {
- if (xmlHttp.readyState == 4 && xmlHttp.status == 0) {
+ if (xmlHttp.readyState == 4 && (xmlHttp.status == 0 || xmlHttp.status == 200)) {
t.done();
} else {
assert_unreached("Fail");
xmlHttp.send(null);
function callback() {
- if (xmlHttp.readyState == 4 && xmlHttp.status == 0) {
+ if (xmlHttp.readyState == 4 && (xmlHttp.status == 0 || xmlHttp.status == 200)) {
t.done();
} else {
assert_unreached("Fail");