summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/encoding/GBK
diff options
context:
space:
mode:
Diffstat (limited to 'LayoutTests/fast/encoding/GBK')
-rw-r--r--LayoutTests/fast/encoding/GBK/EUC-CN-expected.txt5
-rw-r--r--LayoutTests/fast/encoding/GBK/EUC-CN.html10
-rw-r--r--LayoutTests/fast/encoding/GBK/chinese-expected.txt5
-rw-r--r--LayoutTests/fast/encoding/GBK/chinese.html10
-rw-r--r--LayoutTests/fast/encoding/GBK/close-gbk-converter-expected.txt3
-rw-r--r--LayoutTests/fast/encoding/GBK/close-gbk-converter.html22
-rw-r--r--LayoutTests/fast/encoding/GBK/cn-gb-expected.txt5
-rw-r--r--LayoutTests/fast/encoding/GBK/cn-gb.html10
-rw-r--r--LayoutTests/fast/encoding/GBK/csgb2312-expected.txt5
-rw-r--r--LayoutTests/fast/encoding/GBK/csgb2312.html10
-rw-r--r--LayoutTests/fast/encoding/GBK/csgb231280-expected.txt5
-rw-r--r--LayoutTests/fast/encoding/GBK/csgb231280.html10
-rw-r--r--LayoutTests/fast/encoding/GBK/gb2312-expected.txt5
-rw-r--r--LayoutTests/fast/encoding/GBK/gb2312.html10
-rw-r--r--LayoutTests/fast/encoding/GBK/gb_2312-80-expected.txt5
-rw-r--r--LayoutTests/fast/encoding/GBK/gb_2312-80.html10
-rw-r--r--LayoutTests/fast/encoding/GBK/gbk-expected.txt5
-rw-r--r--LayoutTests/fast/encoding/GBK/gbk.html10
-rw-r--r--LayoutTests/fast/encoding/GBK/iso-ir-58-expected.txt5
-rw-r--r--LayoutTests/fast/encoding/GBK/iso-ir-58.html10
-rw-r--r--LayoutTests/fast/encoding/GBK/x-euc-cn-expected.txt5
-rw-r--r--LayoutTests/fast/encoding/GBK/x-euc-cn.html10
-rw-r--r--LayoutTests/fast/encoding/GBK/x-gbk-expected.txt5
-rw-r--r--LayoutTests/fast/encoding/GBK/x-gbk.html10
24 files changed, 190 insertions, 0 deletions
diff --git a/LayoutTests/fast/encoding/GBK/EUC-CN-expected.txt b/LayoutTests/fast/encoding/GBK/EUC-CN-expected.txt
new file mode 100644
index 0000000..ec39154
--- /dev/null
+++ b/LayoutTests/fast/encoding/GBK/EUC-CN-expected.txt
@@ -0,0 +1,5 @@
+The following two lines should look identically:
+
+一筆€镕
+
+一筆€镕
diff --git a/LayoutTests/fast/encoding/GBK/EUC-CN.html b/LayoutTests/fast/encoding/GBK/EUC-CN.html
new file mode 100644
index 0000000..cb8f53f
--- /dev/null
+++ b/LayoutTests/fast/encoding/GBK/EUC-CN.html
@@ -0,0 +1,10 @@
+<head>
+ <meta content="text/html; charset=EUC-CN" http-equiv="Content-Type"/>
+</head>
+<script>
+if (window.layoutTestController)
+ layoutTestController.dumpAsText();
+</script>
+<p>The following two lines should look identically:</p>
+<p>Ò»¹P€éF</p>
+<p>&#19968;&#31558;&euro;&#38229;</p>
diff --git a/LayoutTests/fast/encoding/GBK/chinese-expected.txt b/LayoutTests/fast/encoding/GBK/chinese-expected.txt
new file mode 100644
index 0000000..ec39154
--- /dev/null
+++ b/LayoutTests/fast/encoding/GBK/chinese-expected.txt
@@ -0,0 +1,5 @@
+The following two lines should look identically:
+
+一筆€镕
+
+一筆€镕
diff --git a/LayoutTests/fast/encoding/GBK/chinese.html b/LayoutTests/fast/encoding/GBK/chinese.html
new file mode 100644
index 0000000..a6a4c08
--- /dev/null
+++ b/LayoutTests/fast/encoding/GBK/chinese.html
@@ -0,0 +1,10 @@
+<head>
+ <meta content="text/html; charset=chinese" http-equiv="Content-Type"/>
+</head>
+<script>
+if (window.layoutTestController)
+ layoutTestController.dumpAsText();
+</script>
+<p>The following two lines should look identically:</p>
+<p>Ò»¹P€éF</p>
+<p>&#19968;&#31558;&euro;&#38229;</p>
diff --git a/LayoutTests/fast/encoding/GBK/close-gbk-converter-expected.txt b/LayoutTests/fast/encoding/GBK/close-gbk-converter-expected.txt
new file mode 100644
index 0000000..92bd02f
--- /dev/null
+++ b/LayoutTests/fast/encoding/GBK/close-gbk-converter-expected.txt
@@ -0,0 +1,3 @@
+This tests performs a sequence of actions that result in a GBK converter with substitution enabled being destroyed.
+
+PASS if there is no assertion failure.
diff --git a/LayoutTests/fast/encoding/GBK/close-gbk-converter.html b/LayoutTests/fast/encoding/GBK/close-gbk-converter.html
new file mode 100644
index 0000000..390246a
--- /dev/null
+++ b/LayoutTests/fast/encoding/GBK/close-gbk-converter.html
@@ -0,0 +1,22 @@
+<head>
+<meta charset="gbk">
+<script>
+
+if (window.layoutTestController)
+ layoutTestController.dumpAsText();
+
+function test() {
+ var req = new XMLHttpRequest;
+ req.open("GET", "?§Ø", false);
+ req.send();
+
+ req = new XMLHttpRequest;
+ req.open("GET", "/§Ø", false);
+ req.send();
+}
+</script>
+</head>
+<body onload="test()">
+<p>This tests performs a sequence of actions that result in a GBK converter with substitution enabled being destroyed.</p>
+<p>PASS if there is no assertion failure.</p>
+</body>
diff --git a/LayoutTests/fast/encoding/GBK/cn-gb-expected.txt b/LayoutTests/fast/encoding/GBK/cn-gb-expected.txt
new file mode 100644
index 0000000..ec39154
--- /dev/null
+++ b/LayoutTests/fast/encoding/GBK/cn-gb-expected.txt
@@ -0,0 +1,5 @@
+The following two lines should look identically:
+
+一筆€镕
+
+一筆€镕
diff --git a/LayoutTests/fast/encoding/GBK/cn-gb.html b/LayoutTests/fast/encoding/GBK/cn-gb.html
new file mode 100644
index 0000000..99b11ff
--- /dev/null
+++ b/LayoutTests/fast/encoding/GBK/cn-gb.html
@@ -0,0 +1,10 @@
+<head>
+ <meta content="text/html; charset=cn-gb" http-equiv="Content-Type"/>
+</head>
+<script>
+if (window.layoutTestController)
+ layoutTestController.dumpAsText();
+</script>
+<p>The following two lines should look identically:</p>
+<p>Ò»¹P€éF</p>
+<p>&#19968;&#31558;&euro;&#38229;</p>
diff --git a/LayoutTests/fast/encoding/GBK/csgb2312-expected.txt b/LayoutTests/fast/encoding/GBK/csgb2312-expected.txt
new file mode 100644
index 0000000..ec39154
--- /dev/null
+++ b/LayoutTests/fast/encoding/GBK/csgb2312-expected.txt
@@ -0,0 +1,5 @@
+The following two lines should look identically:
+
+一筆€镕
+
+一筆€镕
diff --git a/LayoutTests/fast/encoding/GBK/csgb2312.html b/LayoutTests/fast/encoding/GBK/csgb2312.html
new file mode 100644
index 0000000..f7afd45
--- /dev/null
+++ b/LayoutTests/fast/encoding/GBK/csgb2312.html
@@ -0,0 +1,10 @@
+<head>
+ <meta content="text/html; charset=csgb2312" http-equiv="Content-Type"/>
+</head>
+<script>
+if (window.layoutTestController)
+ layoutTestController.dumpAsText();
+</script>
+<p>The following two lines should look identically:</p>
+<p>Ò»¹P€éF</p>
+<p>&#19968;&#31558;&euro;&#38229;</p>
diff --git a/LayoutTests/fast/encoding/GBK/csgb231280-expected.txt b/LayoutTests/fast/encoding/GBK/csgb231280-expected.txt
new file mode 100644
index 0000000..ec39154
--- /dev/null
+++ b/LayoutTests/fast/encoding/GBK/csgb231280-expected.txt
@@ -0,0 +1,5 @@
+The following two lines should look identically:
+
+一筆€镕
+
+一筆€镕
diff --git a/LayoutTests/fast/encoding/GBK/csgb231280.html b/LayoutTests/fast/encoding/GBK/csgb231280.html
new file mode 100644
index 0000000..033d8ef
--- /dev/null
+++ b/LayoutTests/fast/encoding/GBK/csgb231280.html
@@ -0,0 +1,10 @@
+<head>
+ <meta content="text/html; charset=csgb231280" http-equiv="Content-Type"/>
+</head>
+<script>
+if (window.layoutTestController)
+ layoutTestController.dumpAsText();
+</script>
+<p>The following two lines should look identically:</p>
+<p>Ò»¹P€éF</p>
+<p>&#19968;&#31558;&euro;&#38229;</p>
diff --git a/LayoutTests/fast/encoding/GBK/gb2312-expected.txt b/LayoutTests/fast/encoding/GBK/gb2312-expected.txt
new file mode 100644
index 0000000..ec39154
--- /dev/null
+++ b/LayoutTests/fast/encoding/GBK/gb2312-expected.txt
@@ -0,0 +1,5 @@
+The following two lines should look identically:
+
+一筆€镕
+
+一筆€镕
diff --git a/LayoutTests/fast/encoding/GBK/gb2312.html b/LayoutTests/fast/encoding/GBK/gb2312.html
new file mode 100644
index 0000000..72e69ea
--- /dev/null
+++ b/LayoutTests/fast/encoding/GBK/gb2312.html
@@ -0,0 +1,10 @@
+<head>
+ <meta content="text/html; charset=gb2312" http-equiv="Content-Type"/>
+</head>
+<script>
+if (window.layoutTestController)
+ layoutTestController.dumpAsText();
+</script>
+<p>The following two lines should look identically:</p>
+<p>Ò»¹P€éF</p>
+<p>&#19968;&#31558;&euro;&#38229;</p>
diff --git a/LayoutTests/fast/encoding/GBK/gb_2312-80-expected.txt b/LayoutTests/fast/encoding/GBK/gb_2312-80-expected.txt
new file mode 100644
index 0000000..ec39154
--- /dev/null
+++ b/LayoutTests/fast/encoding/GBK/gb_2312-80-expected.txt
@@ -0,0 +1,5 @@
+The following two lines should look identically:
+
+一筆€镕
+
+一筆€镕
diff --git a/LayoutTests/fast/encoding/GBK/gb_2312-80.html b/LayoutTests/fast/encoding/GBK/gb_2312-80.html
new file mode 100644
index 0000000..e16695e
--- /dev/null
+++ b/LayoutTests/fast/encoding/GBK/gb_2312-80.html
@@ -0,0 +1,10 @@
+<head>
+ <meta content="text/html; charset=gb_2312-80" http-equiv="Content-Type"/>
+</head>
+<script>
+if (window.layoutTestController)
+ layoutTestController.dumpAsText();
+</script>
+<p>The following two lines should look identically:</p>
+<p>Ò»¹P€éF</p>
+<p>&#19968;&#31558;&euro;&#38229;</p>
diff --git a/LayoutTests/fast/encoding/GBK/gbk-expected.txt b/LayoutTests/fast/encoding/GBK/gbk-expected.txt
new file mode 100644
index 0000000..ec39154
--- /dev/null
+++ b/LayoutTests/fast/encoding/GBK/gbk-expected.txt
@@ -0,0 +1,5 @@
+The following two lines should look identically:
+
+一筆€镕
+
+一筆€镕
diff --git a/LayoutTests/fast/encoding/GBK/gbk.html b/LayoutTests/fast/encoding/GBK/gbk.html
new file mode 100644
index 0000000..6632595
--- /dev/null
+++ b/LayoutTests/fast/encoding/GBK/gbk.html
@@ -0,0 +1,10 @@
+<head>
+ <meta content="text/html; charset=gbk" http-equiv="Content-Type"/>
+</head>
+<script>
+if (window.layoutTestController)
+ layoutTestController.dumpAsText();
+</script>
+<p>The following two lines should look identically:</p>
+<p>Ò»¹P€éF</p>
+<p>&#19968;&#31558;&euro;&#38229;</p>
diff --git a/LayoutTests/fast/encoding/GBK/iso-ir-58-expected.txt b/LayoutTests/fast/encoding/GBK/iso-ir-58-expected.txt
new file mode 100644
index 0000000..ec39154
--- /dev/null
+++ b/LayoutTests/fast/encoding/GBK/iso-ir-58-expected.txt
@@ -0,0 +1,5 @@
+The following two lines should look identically:
+
+一筆€镕
+
+一筆€镕
diff --git a/LayoutTests/fast/encoding/GBK/iso-ir-58.html b/LayoutTests/fast/encoding/GBK/iso-ir-58.html
new file mode 100644
index 0000000..7fa90bc
--- /dev/null
+++ b/LayoutTests/fast/encoding/GBK/iso-ir-58.html
@@ -0,0 +1,10 @@
+<head>
+ <meta content="text/html; charset=iso-ir-58" http-equiv="Content-Type"/>
+</head>
+<script>
+if (window.layoutTestController)
+ layoutTestController.dumpAsText();
+</script>
+<p>The following two lines should look identically:</p>
+<p>Ò»¹P€éF</p>
+<p>&#19968;&#31558;&euro;&#38229;</p>
diff --git a/LayoutTests/fast/encoding/GBK/x-euc-cn-expected.txt b/LayoutTests/fast/encoding/GBK/x-euc-cn-expected.txt
new file mode 100644
index 0000000..ec39154
--- /dev/null
+++ b/LayoutTests/fast/encoding/GBK/x-euc-cn-expected.txt
@@ -0,0 +1,5 @@
+The following two lines should look identically:
+
+一筆€镕
+
+一筆€镕
diff --git a/LayoutTests/fast/encoding/GBK/x-euc-cn.html b/LayoutTests/fast/encoding/GBK/x-euc-cn.html
new file mode 100644
index 0000000..4311d05
--- /dev/null
+++ b/LayoutTests/fast/encoding/GBK/x-euc-cn.html
@@ -0,0 +1,10 @@
+<head>
+ <meta content="text/html; charset=x-euc-cn" http-equiv="Content-Type"/>
+</head>
+<script>
+if (window.layoutTestController)
+ layoutTestController.dumpAsText();
+</script>
+<p>The following two lines should look identically:</p>
+<p>Ò»¹P€éF</p>
+<p>&#19968;&#31558;&euro;&#38229;</p>
diff --git a/LayoutTests/fast/encoding/GBK/x-gbk-expected.txt b/LayoutTests/fast/encoding/GBK/x-gbk-expected.txt
new file mode 100644
index 0000000..ec39154
--- /dev/null
+++ b/LayoutTests/fast/encoding/GBK/x-gbk-expected.txt
@@ -0,0 +1,5 @@
+The following two lines should look identically:
+
+一筆€镕
+
+一筆€镕
diff --git a/LayoutTests/fast/encoding/GBK/x-gbk.html b/LayoutTests/fast/encoding/GBK/x-gbk.html
new file mode 100644
index 0000000..04aa636
--- /dev/null
+++ b/LayoutTests/fast/encoding/GBK/x-gbk.html
@@ -0,0 +1,10 @@
+<head>
+ <meta content="text/html; charset=x-gbk" http-equiv="Content-Type"/>
+</head>
+<script>
+if (window.layoutTestController)
+ layoutTestController.dumpAsText();
+</script>
+<p>The following two lines should look identically:</p>
+<p>Ò»¹P€éF</p>
+<p>&#19968;&#31558;&euro;&#38229;</p>