pjs/xpcom/tests/unit/test_bug333505.js

11 строки
206 B
JavaScript

function run_test()
{
var dirEntries = do_get_cwd().directoryEntries;
while (dirEntries.hasMoreElements())
dirEntries.getNext();
// We ensure there is no crash
dirEntries.hasMoreElements();
}