| <p>Test that delivering a message to a port that was never referenced from JS doesn't cause a crash.</p> |
| 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"); |
| document.getElementById("log").innerHTML += message + "<br>"; |
| testRunner.waitUntilDone(); |
| var channel = new MessageChannel; |
| channel.port1.postMessage("msg"); |
| setTimeout("log('PASS'); if (window.testRunner) testRunner.notifyDone()", 100); |