Merge remote-tracking branch 'origin/tracking' into custom

This commit is contained in:
roytam1 2022-03-22 23:32:48 +08:00
commit c277d761f3
159 changed files with 10753 additions and 13777 deletions

View file

@ -2234,6 +2234,10 @@ void ReportLoadError(ErrorResult& aRv, nsresult aLoadResult,
aLoadResult = NS_ERROR_DOM_SECURITY_ERR;
break;
case NS_ERROR_CORRUPTED_CONTENT:
aLoadResult = NS_ERROR_DOM_NETWORK_ERR;
break;
default:
// For lack of anything better, go ahead and throw a NetworkError here.
// We don't want to throw a JS exception, because for toplevel script