LayoutTests/ChangeLog

 12010-05-24 Alexey Proskuryakov <ap@apple.com>
 2
 3 Reviewed by NOBODY (OOPS!).
 4
 5 https://bugs.webkit.org/show_bug.cgi?id=39606
 6 Land tests for <rdar://problem/3277733>: \ in JavaScript mishandled when encoding is Japanese
 7
 8 * fast/encoding/resources/yentestexternal.js: Added.
 9 * fast/encoding/resources/yentestexternal2.js: Added.
 10 * fast/encoding/yentest-expected.txt: Added.
 11 * fast/encoding/yentest.html: Added.
 12 * fast/encoding/yentest2-expected.txt: Added.
 13 * fast/encoding/yentest2.html: Added.
 14
1152010-05-24 Shinichiro Hamaji <hamaji@chromium.org>
216
317 Unreviewed broken Qt test fix.
60074

LayoutTests/fast/encoding/yentest2-expected.txt

 1two backslashes external: \
 2one backslash external:
 3two backslashes inline: \
 4one backslash inline:
 5
0

LayoutTests/fast/encoding/yentest2.html

 1<HTML>
 2<HEAD>
 3<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=shift-jis">
 4<script src="resources/yentestexternal2.js" type="text/javascript"></script>
 5</HEAD>
 6<BODY>
 7<script>
 8if (window.layoutTestController)
 9 layoutTestController.dumpAsText();
 10
 11writeYenExternal();
 12document.write("two backslashes inline: \\ <br>");
 13document.write("one backslash inline: \ <br>");
 14</script>
 15</body>
 16</html>
0

LayoutTests/fast/encoding/yentest-expected.txt

 1two backslashes external: \
 2two backslashes inline: \
 3
0

LayoutTests/fast/encoding/yentest.html

 1<HTML>
 2<HEAD>
 3<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=shift-jis">
 4<script src="resources/yentestexternal.js" type="text/javascript"></script>
 5</HEAD>
 6<BODY>
 7<script>
 8if (window.layoutTestController)
 9 layoutTestController.dumpAsText();
 10
 11writeYenExternal();
 12document.write("two backslashes inline: " + "\\" + "<br>");
 13// document.write("one backslash inline: " + "\" + "<br>");
 14</script>
 15</body>
 16</html>
0

LayoutTests/fast/encoding/resources/yentestexternal2.js

 1function writeYenExternal() {
 2document.write("two backslashes external: \\ <br>");
 3document.write("one backslash external: \ <br>");
 4}
0

LayoutTests/fast/encoding/resources/yentestexternal.js

 1function writeYenExternal() {
 2document.write("two backslashes external: " + "\\" + "<br>");
 3}
0