From: lin qunfang Date: Wed, 16 May 2018 23:16:30 +0000 (+0800) Subject: [common][xmlhttprequest][fix 13 TCs issues] X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b84e3a9857c1b4c968fc9ad255cdda0b64d21886;p=test%2Ftct%2Fweb%2Fapi.git [common][xmlhttprequest][fix 13 TCs issues] Change-Id: Ic108bf3e700d4860d23e91e688f4ded59ac69c0f Signed-off-by: lin qunfang --- diff --git a/common/tct-xmlhttprequest-w3c-tests/xmlhttprequest/w3c/responsetext-decoding.htm b/common/tct-xmlhttprequest-w3c-tests/xmlhttprequest/w3c/responsetext-decoding.htm index 00c4d6e40..a85cf88f2 100755 --- a/common/tct-xmlhttprequest-w3c-tests/xmlhttprequest/w3c/responsetext-decoding.htm +++ b/common/tct-xmlhttprequest-w3c-tests/xmlhttprequest/w3c/responsetext-decoding.htm @@ -16,10 +16,7 @@ if (responseType !== undefined) { client.responseType = responseType } - client.open("GET", "resources/status.php?content=" + input + "&type=" + encodeURIComponent(type), true) - client.onload = test.step_func_done(() => { - assert_equals(client.responseText, output) - }) + client.open("GET", "resources/status.php?content=" + input + "&type=" + encodeURIComponent(type), false) client.send(null) assert_equals(client.responseText, output) }, document.title + " (" + type + " " + input + ")")