Index: LayoutTests/fast/filesystem/resources/sync-operations.js |
diff --git a/LayoutTests/fast/filesystem/resources/sync-operations.js b/LayoutTests/fast/filesystem/resources/sync-operations.js |
index 90ecc69ac10893e9a1d234ff8ff73a82c8f0f7ac..6ae8fcd1ee0b9ca6da129ec32a622b81d71e7022 100644 |
--- a/LayoutTests/fast/filesystem/resources/sync-operations.js |
+++ b/LayoutTests/fast/filesystem/resources/sync-operations.js |
@@ -27,8 +27,10 @@ var e = fileSystem.root.getFile('e', {create:true}); |
var reader = fileSystem.root.createReader(); |
var dirsCount = 0; |
var paths = []; |
+var entries; |
do { |
- var entries = reader.readEntries(); |
+ entries = reader.readEntries(); |
+ shouldBe('entries.__proto__', 'Array.prototype'); |
for (var i = 0; i < entries.length; ++i) { |
paths.push(entries[i].fullPath); |
if (entries[i].isDirectory) |