Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Unified Diff: LayoutTests/fast/filesystem/resources/sync-operations.js

Issue 22673003: Replace EntryArraySync type by an EntrySync[] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use traits classes to simplify the code Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)

Powered by Google App Engine
This is Rietveld 408576698