mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 08:18:41 +09:00
Revert "[DOM] Consistent error messages for scripts which failed to load." which comes from upstream, which has similar changes in custom tree.
This commit is contained in:
parent
6378c78068
commit
2684671e2c
1 changed files with 0 additions and 4 deletions
|
|
@ -2234,10 +2234,6 @@ 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue