diff options
Diffstat (limited to 'dom/base/nsContentPolicyUtils.h')
-rw-r--r-- | dom/base/nsContentPolicyUtils.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dom/base/nsContentPolicyUtils.h b/dom/base/nsContentPolicyUtils.h index ed0544226..f530f9be9 100644 --- a/dom/base/nsContentPolicyUtils.h +++ b/dom/base/nsContentPolicyUtils.h @@ -115,6 +115,7 @@ NS_CP_ContentTypeName(uint32_t contentType) CASE_RETURN( TYPE_FETCH ); CASE_RETURN( TYPE_IMAGESET ); CASE_RETURN( TYPE_WEB_MANIFEST ); + CASE_RETURN( TYPE_SAVEAS_DOWNLOAD ); CASE_RETURN( TYPE_INTERNAL_SCRIPT ); CASE_RETURN( TYPE_INTERNAL_WORKER ); CASE_RETURN( TYPE_INTERNAL_SHARED_WORKER ); @@ -236,7 +237,7 @@ NS_CheckContentLoadPolicy(uint32_t contentType, CHECK_PRINCIPAL_AND_DATA(ShouldLoad); if (policyService) { CHECK_CONTENT_POLICY_WITH_SERVICE(ShouldLoad, policyService); - } +y CHECK_CONTENT_POLICY(ShouldLoad); } |