blob: fb8bd86291d7419f1cdceb6639a78cbafe2f3cef [file] [log] [blame]
function gc()
{
for (var i = 0; i < 10000; i++) { // > force garbage collection (FF requires about 9K allocations before a collect)
var s = new String("abc");
}
}
function onmessage(evt)
{
postMessage("SUCCESS");
}
addEventListener("message", onmessage, true);
gc();