mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 629682 - Add a better warning message for SVG-as-an-image external resources being blocked. r=dholbert
This commit is contained in:
parent
21f229c594
commit
3f3f8fa14e
@ -92,7 +92,7 @@ nsDataDocumentContentPolicy::ShouldLoad(uint32_t aContentType,
|
|||||||
requestingPrincipal->GetURI(getter_AddRefs(principalURI));
|
requestingPrincipal->GetURI(getter_AddRefs(principalURI));
|
||||||
if (NS_SUCCEEDED(rv) && principalURI) {
|
if (NS_SUCCEEDED(rv) && principalURI) {
|
||||||
nsScriptSecurityManager::ReportError(
|
nsScriptSecurityManager::ReportError(
|
||||||
nullptr, NS_LITERAL_STRING("CheckSameOriginError"), principalURI,
|
nullptr, NS_LITERAL_STRING("ExternalDataError"), principalURI,
|
||||||
aContentLocation);
|
aContentLocation);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
CheckMessage = Remember this decision
|
CheckMessage = Remember this decision
|
||||||
CheckLoadURIError = Security Error: Content at %S may not load or link to %S.
|
CheckLoadURIError = Security Error: Content at %S may not load or link to %S.
|
||||||
CheckSameOriginError = Security Error: Content at %S may not load data from %S.
|
CheckSameOriginError = Security Error: Content at %S may not load data from %S.
|
||||||
|
ExternalDataError = Security Error: Content at %S attempted to load %S, but may not load external data when being used as an image.
|
||||||
|
|
||||||
# LOCALIZATION NOTE (GetPropertyDeniedOrigins):
|
# LOCALIZATION NOTE (GetPropertyDeniedOrigins):
|
||||||
# %1$S is the origin of the script which was denied access.
|
# %1$S is the origin of the script which was denied access.
|
||||||
|
Loading…
Reference in New Issue
Block a user