gecko-dev/xpcom/tests/unit/test_bug333505.js

11 строки
212 B
JavaScript

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