summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/encoding-detection/zh-GBK.tentative.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/encoding-detection/zh-GBK.tentative.html')
-rw-r--r--testing/web-platform/tests/encoding-detection/zh-GBK.tentative.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/web-platform/tests/encoding-detection/zh-GBK.tentative.html b/testing/web-platform/tests/encoding-detection/zh-GBK.tentative.html
new file mode 100644
index 0000000000..0b88da6751
--- /dev/null
+++ b/testing/web-platform/tests/encoding-detection/zh-GBK.tentative.html
@@ -0,0 +1,14 @@
+<!doctype html>
+<title>zh GBK</title>
+<script src=/resources/testharness.js></script>
+<script src=/resources/testharnessreport.js></script>
+<p>ÕâÊÇÒ»¸ö×Ö·û±àÂë²âÊÔ¡£</p>
+<script>
+setup({explicit_done:true});
+onload = function() {
+ test(function() {
+ assert_equals(document.characterSet, "GBK", 'Expected GBK');
+ }, "Check detection result");
+ done();
+};
+</script>