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

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/request-encoding3.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
« no previous file with comments | « no previous file | LayoutTests/http/tests/xmlhttprequest/request-encoding3-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 for <a href="http://crbug.com/277526">http://crbug.com/277526</a>:
8 XMLHttpRequest normalizes the data sent to the server into Unicode NFC.</p>
9 <div id="result">FAIL: script didn't run to completion.</div>
10 <script>
11
12 if (window.testRunner)
13 testRunner.dumpAsText();
14
15 var xhr = new XMLHttpRequest;
16 xhr.open("POST", "resources/post-echo-as-utf-8.cgi", false);
17 xhr.setRequestHeader("content-type", "application/json; charset=UTF-8");
18 xhr.send("{\"key\":\"\\n\u0300\"}");
19 if (xhr.responseText == "{\"key\":\"\\n\u0300\"}")
20 document.getElementById("result").firstChild.data = "SUCCESS";
21 else
22 document.getElementById("result").firstChild.data = "FAILURE: '" + xhr.r esponseText + "'";
23
24 </script>
25 </body>
26 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/xmlhttprequest/request-encoding3-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698