Bug 515797: Allow necko to create channels that are aware of Content Security Policy. r=jduell, sr=biesi

This commit is contained in:
Brandon Sterne
2010-04-10 16:08:21 -04:00
parent acd6e1695c
commit b1cb5540d6
10 changed files with 238 additions and 4 deletions

View File

@@ -41,7 +41,8 @@ NS_HIDDEN_(nsNetStrings*) gNetStrings;
nsNetStrings::nsNetStrings()
: NS_LITERAL_STRING_INIT(kContentLength, NS_CHANNEL_PROP_CONTENT_LENGTH_STR),
NS_LITERAL_STRING_INIT(kContentDisposition, NS_CHANNEL_PROP_CONTENT_DISPOSITION_STR)
NS_LITERAL_STRING_INIT(kContentDisposition, NS_CHANNEL_PROP_CONTENT_DISPOSITION_STR),
NS_LITERAL_STRING_INIT(kChannelPolicy, NS_CHANNEL_PROP_CHANNEL_POLICY_STR)
{}