| Index: webkit/data/layout_tests/chrome/fast/dom/xmlhttprequest-gc.html
|
| ===================================================================
|
| --- webkit/data/layout_tests/chrome/fast/dom/xmlhttprequest-gc.html (revision 12664)
|
| +++ webkit/data/layout_tests/chrome/fast/dom/xmlhttprequest-gc.html (working copy)
|
| @@ -1,27 +0,0 @@
|
| -<html>
|
| -
|
| -<script>
|
| -function state_change() {
|
| - document.write(this.foo+'<br>');
|
| -}
|
| -function run_test() {
|
| - var xhr = new XMLHttpRequest();
|
| - xhr.foo = 'bar';
|
| - xhr.onreadystatechange = state_change;
|
| - xhr.open("GET", "xmlhttprequest-gc.html", true);
|
| - xhr.send(null);
|
| -
|
| - xhr = null;
|
| - if (window.GCController) {
|
| - window.GCController.collect();
|
| - } else {
|
| - // allocate 4000 objects to trigger GC
|
| - for (var i = 0; i < 4000; i++)
|
| - new Object();
|
| - }
|
| -}
|
| -
|
| -</script>
|
| -<body onload='run_test()'>
|
| -</body>
|
| -</html>
|
|
|