summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/encoding/GBK/close-gbk-converter.html
blob: 390246ae1a4e48e187162d0297001b55e3a612a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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>