зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1826529 - Show nsContentPolicyType as string in CSP log. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D174740
This commit is contained in:
Родитель
947aaa2ad5
Коммит
d6d24bc0e0
|
@ -137,7 +137,8 @@ nsCSPContext::ShouldLoad(nsContentPolicyType aContentType,
|
|||
if (CSPCONTEXTLOGENABLED()) {
|
||||
CSPCONTEXTLOG(("nsCSPContext::ShouldLoad, aContentLocation: %s",
|
||||
aContentLocation->GetSpecOrDefault().get()));
|
||||
CSPCONTEXTLOG((">>>> aContentType: %d", aContentType));
|
||||
CSPCONTEXTLOG((">>>> aContentType: %s",
|
||||
NS_CP_ContentTypeName(aContentType)));
|
||||
}
|
||||
|
||||
// This ShouldLoad function is called from nsCSPService::ShouldLoad,
|
||||
|
|
Загрузка…
Ссылка в новой задаче