mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Adding support to enable P3P upon request. r=heikki, sr=alecf,sfraser a=asa
This commit is contained in:
parent
0dcbf39c69
commit
342a2db398
@ -349,10 +349,6 @@ sub ProcessJarManifests()
|
||||
{
|
||||
CreateJarFromManifest(":mozilla:extensions:inspector:jar.mn", $chrome_dir, \%jars);
|
||||
}
|
||||
if ($main::options{p3p})
|
||||
{
|
||||
CreateJarFromManifest(":mozilla:extensions:p3p:resources:jar.mn", $chrome_dir, \%jars);
|
||||
}
|
||||
if ($main::options{jsd} && $main::options{venkman})
|
||||
{
|
||||
CreateJarFromManifest(":mozilla:extensions:venkman:resources:jar.mn", $chrome_dir, \%jars);
|
||||
@ -908,7 +904,8 @@ sub BuildClientDist()
|
||||
#P3P
|
||||
if ($main::options{p3p})
|
||||
{
|
||||
InstallFromManifest(":mozilla:extensions:p3p:public:MANIFEST", "$distdirectory:idl:");
|
||||
InstallFromManifest(":mozilla:extensions:p3p:public:MANIFEST_IDL", "$distdirectory:idl:");
|
||||
InstallFromManifest(":mozilla:extensions:p3p:public:MANIFEST", "$distdirectory:p3p:");
|
||||
}
|
||||
|
||||
#JS DEBUGGER
|
||||
|
@ -3135,7 +3135,7 @@ if test -n "$SUNCTL"; then
|
||||
MOZ_EXTENSIONS_DEFAULT="$MOZ_EXTENSIONS_DEFAULT ctl"
|
||||
fi
|
||||
|
||||
MOZ_EXTENSIONS_ALL="$MOZ_EXTENSIONS_DEFAULT irc xmlterm access-builtin ctl"
|
||||
MOZ_EXTENSIONS_ALL="$MOZ_EXTENSIONS_DEFAULT irc xmlterm access-builtin ctl p3p"
|
||||
|
||||
MOZ_ARG_ENABLE_STRING(extensions,
|
||||
[ --enable-extensions Enable extensions],
|
||||
|
@ -31,6 +31,9 @@ DIRS = wallet \
|
||||
!endif
|
||||
content-packs \
|
||||
help \
|
||||
!if defined(MOZ_ENABLE_P3P)
|
||||
p3p \
|
||||
!endif
|
||||
pref \
|
||||
!if !defined(DISABLE_XSLT)
|
||||
transformiix \
|
||||
|
2127
extensions/p3p/macbuild/p3p.xml
Normal file
2127
extensions/p3p/macbuild/p3p.xml
Normal file
File diff suppressed because it is too large
Load Diff
1439
extensions/p3p/macbuild/p3pIDL.xml
Normal file
1439
extensions/p3p/macbuild/p3pIDL.xml
Normal file
File diff suppressed because it is too large
Load Diff
2
extensions/p3p/public/MANIFEST_IDL
Normal file
2
extensions/p3p/public/MANIFEST_IDL
Normal file
@ -0,0 +1,2 @@
|
||||
nsIP3PService.idl
|
||||
|
@ -140,7 +140,7 @@ nsP3PService::ProcessResponseHeader(nsIHttpChannel* aHttpChannel)
|
||||
}
|
||||
|
||||
nsXPIDLCString spec;
|
||||
uri->GetSpec(getter_Copies(spec));
|
||||
uri->GetSpec(spec);
|
||||
|
||||
result = mCompactPolicy->OnHeaderAvailable(p3pHeader,spec);
|
||||
}
|
||||
@ -206,7 +206,7 @@ nsP3PService::GetConsent(const char* aURI,
|
||||
|
||||
if (uri) {
|
||||
nsXPIDLCString spec;
|
||||
uri->GetSpec(getter_Copies(spec));
|
||||
uri->GetSpec(spec);
|
||||
|
||||
if (aURI) {
|
||||
NS_ASSERTION(nsCRT::strcmp(aURI,spec) == 0,"URIs don't match");
|
||||
|
Loading…
Reference in New Issue
Block a user