Bug 1274729 - corrupted content string management r=dragana

This commit is contained in:
Patrick McManus
2016-05-23 10:12:31 -04:00
parent 1224d92b30
commit 8f8edfd033
12 changed files with 19 additions and 19 deletions

View File

@@ -5066,11 +5066,11 @@ nsDocShell::DisplayLoadError(nsresult aError, nsIURI* aURI,
break;
case NS_ERROR_CORRUPTED_CONTENT:
// Broken Content Detected. e.g. Content-MD5 check failure.
error.AssignLiteral("corruptedContentError");
error.AssignLiteral("corruptedContentErrorv2");
break;
case NS_ERROR_INTERCEPTION_FAILED:
// ServiceWorker intercepted request, but something went wrong.
error.AssignLiteral("corruptedContentError");
error.AssignLiteral("corruptedContentErrorv2");
break;
case NS_ERROR_NET_INADEQUATE_SECURITY:
// Server negotiated bad TLS for HTTP/2.