summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/encoding/GBK/close-gbk-converter.html
diff options
context:
space:
mode:
Diffstat (limited to 'LayoutTests/fast/encoding/GBK/close-gbk-converter.html')
-rw-r--r--LayoutTests/fast/encoding/GBK/close-gbk-converter.html22
1 files changed, 22 insertions, 0 deletions
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>