Use testRunner instead of layoutTestController in fast/doctypes, dom, dynamic, encodi...
[WebKit-https.git] / LayoutTests / fast / encoding / GBK / close-gbk-converter.html
1 <head>
2 <meta charset="gbk">
3 <script>
4
5 if (window.testRunner)
6     testRunner.dumpAsText();
7
8 function test() {
9     var req = new XMLHttpRequest;
10     req.open("GET", "?§Ø", false);
11     req.send();
12
13     req = new XMLHttpRequest;
14     req.open("GET", "/§Ø", false);
15     req.send();
16 }
17 </script>
18 </head>
19 <body onload="test()">
20 <p>This tests performs a sequence of actions that result in a GBK converter with substitution enabled being destroyed.</p>
21 <p>PASS if there is no assertion failure.</p>
22 </body>