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