summaryrefslogtreecommitdiff
path: root/xpcom/tests/unit/test_bug333505.js
blob: 856468605b2b933905dcfb83b480c3d7772e4ab5 (plain)
1
2
3
4
5
6
7
8
9
10
function run_test()
{
  var dirEntries = do_get_cwd().directoryEntries;

  while (dirEntries.hasMoreElements())
    dirEntries.getNext();

  // We ensure there is no crash
  dirEntries.hasMoreElements();
}