summaryrefslogtreecommitdiffstats
path: root/xpcom/tests/unit/test_bug333505.js
blob: 97016519da41e4c5035b280b0cd25b82b8f81ea1 (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();
}