From b84e3a9857c1b4c968fc9ad255cdda0b64d21886 Mon Sep 17 00:00:00 2001 From: lin qunfang Date: Thu, 17 May 2018 07:16:30 +0800 Subject: [PATCH] [common][xmlhttprequest][fix 13 TCs issues] Change-Id: Ic108bf3e700d4860d23e91e688f4ded59ac69c0f Signed-off-by: lin qunfang --- .../xmlhttprequest/w3c/responsetext-decoding.htm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 + ")") -- 2.34.1