| <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| <html> |
| <head id="h"> |
| </head> |
| <body> |
| <script src="../../resources/gc.js"></script> |
| <script> |
| if (window.testRunner) |
| testRunner.dumpAsText(); |
| |
| var link = document.createElement('link'); |
| link.setAttribute('type', 'text/css'); |
| link.setAttribute('rel', 'stylesheet'); |
| link.setAttribute('href', 'really-does-not-exist.css'); |
| document.getElementById('h').appendChild(link); |
| link.parentNode.removeChild(link); |
| link = null; |
| </script> |
| <script> |
| gc(); |
| </script> |
| <p>This test passes if it doesn't crash</p> |
| </body> |
| </html> |