Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(194)

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/response-encoding2.html

Issue 22875053: Do not normalize into NFC the data sent by XMLHttpRequest (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
5 </head>
6 <body>
7 <p>Test that XHR response text is not normalized.</p>
8 <div id="result">FAIL: script didn't run to completion.</div>
9 <script>
10
11 if (window.testRunner)
12 testRunner.dumpAsText();
13
14 var xhr = new XMLHttpRequest;
15 xhr.open("GET", "resources/response-encoding2-reply.txt", false);
16 xhr.send(null);
17 if (xhr.responseText == "n\u0303")
18 document.getElementById("result").firstChild.data = "SUCCESS";
19 else
20 document.getElementById("result").firstChild.data = "FAILURE: '" + xhr.r esponseText + "'";
21
22 </script>
23 </body>
24 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698