| Index: chrome/test/data/extensions/api_test/file_system_provider/big_file/test.js
|
| diff --git a/chrome/test/data/extensions/api_test/file_system_provider/big_file/test.js b/chrome/test/data/extensions/api_test/file_system_provider/big_file/test.js
|
| index aefd000d324e2fb1a5fdc5bf1cf0c10250a95fda..2ac4d1241a17e90dcfe6ff7de83014493338bc99 100644
|
| --- a/chrome/test/data/extensions/api_test/file_system_provider/big_file/test.js
|
| +++ b/chrome/test/data/extensions/api_test/file_system_provider/big_file/test.js
|
| @@ -171,10 +171,9 @@ function onReadFileRequested(options, onSuccess, onError) {
|
|
|
| if (filePath == '/' + TESTING_6GB_FILE.name) {
|
| if (options.offset < TESTING_TEXT_OFFSET ||
|
| - options.offset + options.length >
|
| - TESTING_TEXT_OFFSET + TESTING_TEXT.length) {
|
| + options.offset >= TESTING_TEXT_OFFSET + TESTING_TEXT.length) {
|
| console.error('Reading from a wrong location in the file!');
|
| - onError('INVALID_FAILED'); // enum ProviderError.
|
| + onError('FAILED'); // enum ProviderError.
|
| return;
|
| }
|
|
|
|
|