Bug 1457899 - use IPC_FAIL_NO_REASON instead of KillHard in ContentParent::RecvFileCreationRequest; r=baku

MozReview-Commit-ID: LoO4Kxh7aZn

--HG--
extra : rebase_source : 73f35ed36903878b27fcf8e0b44eb310f8a960a0
extra : source : a8dea58b54da6e4a6f124b4ca0c2215048a3b35b
This commit is contained in:
Alex Gaynor 2018-04-27 14:58:59 -04:00
Родитель 85d46efa66
Коммит fda419d39c
1 изменённых файлов: 0 добавлений и 1 удалений

Просмотреть файл

@ -5585,7 +5585,6 @@ ContentParent::RecvFileCreationRequest(const nsID& aID,
// or for testing.
if (!mRemoteType.EqualsLiteral(FILE_REMOTE_TYPE) &&
!Preferences::GetBool("dom.file.createInChild", false)) {
KillHard("FileCreationRequest is not supported.");
return IPC_FAIL_NO_REASON(this);
}