4 <meta http-equiv=
"content-type" content=
"text/html; charset=UTF-8">
7 <p>Test that XHR response text is not normalized.
</p>
8 <div id=
"result">FAIL: script didn't run to completion.
</div>
11 if (window
.testRunner
)
12 testRunner
.dumpAsText();
14 var xhr
= new XMLHttpRequest
;
15 xhr
.open("GET", "resources/response-encoding2-reply.txt", false);
17 if (xhr
.responseText
== "n\u0303")
18 document
.getElementById("result").firstChild
.data
= "SUCCESS";
20 document
.getElementById("result").firstChild
.data
= "FAILURE: '" + xhr
.responseText
+ "'";