| Index: Source/modules/filesystem/DirectoryReaderSync.cpp
|
| diff --git a/Source/modules/filesystem/DirectoryReaderSync.cpp b/Source/modules/filesystem/DirectoryReaderSync.cpp
|
| index 490216df3768c5fda883064fd7f4044dd1a77a30..5f83d945020165d9e959fcf362ebc5b01de316c0 100644
|
| --- a/Source/modules/filesystem/DirectoryReaderSync.cpp
|
| +++ b/Source/modules/filesystem/DirectoryReaderSync.cpp
|
| @@ -31,7 +31,6 @@
|
| #include "config.h"
|
| #include "modules/filesystem/DirectoryReaderSync.h"
|
|
|
| -#include "bindings/v8/ExceptionMessages.h"
|
| #include "bindings/v8/ExceptionState.h"
|
| #include "core/dom/ExceptionCode.h"
|
| #include "modules/filesystem/DirectoryEntry.h"
|
| @@ -55,7 +54,7 @@ EntrySyncVector DirectoryReaderSync::readEntries(ExceptionState& exceptionState)
|
|
|
| EntriesSyncCallbackHelper helper;
|
| if (!m_fileSystem->readDirectory(this, m_fullPath, helper.successCallback(), helper.errorCallback(), DOMFileSystemBase::Synchronous)) {
|
| - exceptionState.throwDOMException(InvalidModificationError, ExceptionMessages::failedToExecute("readEntries", "DirectoryReaderSync"));
|
| + exceptionState.throwDOMException(InvalidModificationError, "Failed to read the directory.");
|
| setHasMoreEntries(false);
|
| return EntrySyncVector();
|
| }
|
|
|