[common][xmlhttprequest][fix 13 TCs issues] 42/179242/1
authorlin qunfang <qunfang.lin@samsung.com>
Wed, 16 May 2018 23:16:30 +0000 (07:16 +0800)
committerlin qunfang <qunfang.lin@samsung.com>
Wed, 16 May 2018 23:17:37 +0000 (07:17 +0800)
Change-Id: Ic108bf3e700d4860d23e91e688f4ded59ac69c0f
Signed-off-by: lin qunfang <qunfang.lin@samsung.com>
common/tct-xmlhttprequest-w3c-tests/xmlhttprequest/w3c/responsetext-decoding.htm

index 00c4d6e40c7d4693a2ef20bc80ba4f088e9f6956..a85cf88f287a55b77916e2fe70bbe1eb191cf180 100755 (executable)
           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 + ")")