Reviewed by Shinichiro Hamaji.

        https://bugs.webkit.org/show_bug.cgi?id=39606
        Land tests for <rdar://problem/3277733>: \ in JavaScript mishandled when encoding is Japanese

        * fast/encoding/resources/yentestexternal.js: Added.
        * fast/encoding/resources/yentestexternal2.js: Added.
        * fast/encoding/yentest-expected.txt: Added.
        * fast/encoding/yentest.html: Added.
        * fast/encoding/yentest2-expected.txt: Added.
        * fast/encoding/yentest2.html: Added.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60311 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/fast/encoding/yentest.html b/LayoutTests/fast/encoding/yentest.html
new file mode 100644
index 0000000..a3a2a17
--- /dev/null
+++ b/LayoutTests/fast/encoding/yentest.html
@@ -0,0 +1,15 @@
+<HTML>
+<HEAD>
+<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=shift-jis">
+<script src="resources/yentestexternal.js" type="text/javascript"></script>
+</HEAD>
+<BODY>
+<script>
+if (window.layoutTestController)
+    layoutTestController.dumpAsText();
+
+writeYenExternal();
+document.write("two backslashes inline: " + "\\" + "<br>");
+</script>
+</body>
+</html>