Index: Source/modules/filesystem/FileWriterSync.cpp |
diff --git a/Source/modules/filesystem/FileWriterSync.cpp b/Source/modules/filesystem/FileWriterSync.cpp |
index 8f7579d51f594576d8606150ca2a3d2987af7126..da5be7240adc3a140c00414fb5f70bcc9091defe 100644 |
--- a/Source/modules/filesystem/FileWriterSync.cpp |
+++ b/Source/modules/filesystem/FileWriterSync.cpp |
@@ -45,7 +45,7 @@ void FileWriterSync::write(Blob* data, ExceptionState& exceptionState) |
ASSERT(writer()); |
ASSERT(m_complete); |
if (!data) { |
- exceptionState.throwDOMException(TypeMismatchError, FileError::typeMismatchErrorMessage); |
+ exceptionState.throwDOMException(TypeError, FileError::typeMismatchErrorMessage); |
return; |
} |