summaryrefslogtreecommitdiffstats
path: root/dom/base
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-06-18 00:49:45 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-06-18 00:49:45 +0200
commitaebdb991f41d3cc864451ce1c09c7b7c691cbe76 (patch)
tree9326d234305e15af1fe45b2fe528a535d426c1a0 /dom/base
parent6e567403cb5d8e7732180c920e5c7d99339bc8c7 (diff)
downloadUXP-aebdb991f41d3cc864451ce1c09c7b7c691cbe76.tar
UXP-aebdb991f41d3cc864451ce1c09c7b7c691cbe76.tar.gz
UXP-aebdb991f41d3cc864451ce1c09c7b7c691cbe76.tar.lz
UXP-aebdb991f41d3cc864451ce1c09c7b7c691cbe76.tar.xz
UXP-aebdb991f41d3cc864451ce1c09c7b7c691cbe76.zip
nsIContentPolicy: Their order (in nsIContentPolicyBase.idl) must be retained in nsContentBlocker.cpp
Diffstat (limited to 'dom/base')
-rw-r--r--dom/base/nsContentPolicyUtils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/base/nsContentPolicyUtils.h b/dom/base/nsContentPolicyUtils.h
index 3cef7923e..600b24c56 100644
--- a/dom/base/nsContentPolicyUtils.h
+++ b/dom/base/nsContentPolicyUtils.h
@@ -115,7 +115,6 @@ 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 );
@@ -135,6 +134,7 @@ NS_CP_ContentTypeName(uint32_t contentType)
CASE_RETURN( TYPE_INTERNAL_IMAGE_FAVICON );
CASE_RETURN( TYPE_INTERNAL_STYLESHEET );
CASE_RETURN( TYPE_INTERNAL_STYLESHEET_PRELOAD );
+ CASE_RETURN( TYPE_SAVEAS_DOWNLOAD );
default:
return "<Unknown Type>";
}