| Index: LayoutTests/fast/filesystem/resources/op-tests-helper.js
|
| diff --git a/LayoutTests/fast/filesystem/resources/op-tests-helper.js b/LayoutTests/fast/filesystem/resources/op-tests-helper.js
|
| index 42e9ef5aea3768ca1118ab8eba4120fc3dd905b7..d408ce62c7f873a16529b47737ce5e36298006ee 100644
|
| --- a/LayoutTests/fast/filesystem/resources/op-tests-helper.js
|
| +++ b/LayoutTests/fast/filesystem/resources/op-tests-helper.js
|
| @@ -207,8 +207,7 @@ function runOperationTest(fileSystem, testCase, successCallback, errorCallback)
|
| if (this.expectedErrorCode)
|
| testFailed('Unexpectedly succeeded while ' + this.stage);
|
|
|
| - for (var i = 0; i < entries.length; ++i)
|
| - this.readEntries.push(entries[i]);
|
| + this.readEntries.push.apply(this.readEntries, entries);
|
|
|
| if (entries.length) {
|
| this.currentReader.readEntries(bindCallback(this, this.testReadEntriesSuccessCallback), bindCallback(this, this.testErrorCallback));
|
|
|