Bug 529697 - (CSP 1.1) Implement form-action directive [3/4], r=unfocused
Make the cspFrameAncestorsBlock error page generic and use it with the form-action directive too.
This commit is contained in:
@@ -4869,7 +4869,7 @@ nsDocShell::DisplayLoadError(nsresult aError, nsIURI *aURI,
|
||||
NS_ERROR_CSP_FORM_ACTION_VIOLATION == aError) {
|
||||
// CSP error
|
||||
cssClass.AssignLiteral("neterror");
|
||||
error.AssignLiteral("cspFrameAncestorBlocked");
|
||||
error.AssignLiteral("cspBlocked");
|
||||
}
|
||||
else if (NS_ERROR_GET_MODULE(aError) == NS_ERROR_MODULE_SECURITY) {
|
||||
nsCOMPtr<nsINSSErrorsService> nsserr =
|
||||
|
||||
Reference in New Issue
Block a user