Mypal/xpcom/tests/unit/test_bug333505.js

11 lines
206 B
JavaScript
Raw Normal View History

2019-03-11 03:26:37 -07:00
function run_test()
{
var dirEntries = do_get_cwd().directoryEntries;
while (dirEntries.hasMoreElements())
dirEntries.getNext();
// We ensure there is no crash
dirEntries.hasMoreElements();
}