| 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 85ad713aa89e76e0216072fd108f0dea59b8ea65..98ee057e8274f53f84ed179fc3b73b73edb9397f 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
|
| @@ -104,10 +104,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;
|
| }
|
|
|
|
|