1 <head> 2 <meta charset="gbk"> 3 <script> 4 5 if (window.layoutTestController) 6 layoutTestController.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> 23