gecko/xpcom/tests/unit/test_bug333505.js

11 lines
226 B
JavaScript

function run_test()
{
var dirEntries = do_get_file("xpcom/tests/unit/").directoryEntries;
while (dirEntries.hasMoreElements())
dirEntries.getNext();
// We ensure there is no crash
dirEntries.hasMoreElements();
}