| <embed name="plg" type="application/x-webkit-test-netscape"> |
| if (window.layoutTestController) |
| layoutTestController.dumpAsText(); |
| return GCController.collect(); |
| for (var i = 0; i < 10000; i++) { // > force garbage collection (FF requires about 9K allocations before a collect) |
| var s = new String("abc"); |
| var recursionsRemaining = 2; |
| function pluginCallback() |
| if (--recursionsRemaining) |
| document.write("PASS if no crash.<br>"); |
| plg.testCallback("pluginCallback"); |
| alert("Exception: " + ex.description + ". Test plugin was not found"); |