partly import changes from tenfourfox:

- #654: M1739957 M1740985+backbugs, update TLDs (861ae8f62)
This commit is contained in:
roytam1 2022-02-25 13:01:40 +08:00
commit e350f0c040
3 changed files with 71 additions and 23 deletions

View file

@ -2206,6 +2206,7 @@ void ReportLoadError(ErrorResult& aRv, nsresult aLoadResult,
switch (aLoadResult) {
case NS_ERROR_FILE_NOT_FOUND:
case NS_ERROR_NOT_AVAILABLE:
case NS_ERROR_CORRUPTED_CONTENT:
aLoadResult = NS_ERROR_DOM_NETWORK_ERR;
break;