mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 1434952 - Remove signed.applets.codebase_principal_support pref. r=mrbkap
MozReview-Commit-ID: K8nic9kw8gF --HG-- extra : rebase_source : 2f99d4594c88a4e6f38cbe740af8e10a5a528a81
This commit is contained in:
parent
29551cf107
commit
589eaa7bb4
@ -36,8 +36,6 @@
|
||||
|
||||
using namespace mozilla;
|
||||
|
||||
static bool gCodeBasePrincipalSupport = false;
|
||||
|
||||
static bool URIIsImmutable(nsIURI* aURI)
|
||||
{
|
||||
nsCOMPtr<nsIMutable> mutableObj(do_QueryInterface(aURI));
|
||||
@ -63,15 +61,6 @@ NS_IMPL_CI_INTERFACE_GETTER(ContentPrincipal,
|
||||
nsIPrincipal,
|
||||
nsISerializable)
|
||||
|
||||
// Called at startup:
|
||||
/* static */ void
|
||||
ContentPrincipal::InitializeStatics()
|
||||
{
|
||||
Preferences::AddBoolVarCache(&gCodeBasePrincipalSupport,
|
||||
"signed.applets.codebase_principal_support",
|
||||
false);
|
||||
}
|
||||
|
||||
ContentPrincipal::ContentPrincipal()
|
||||
: BasePrincipal(eCodebasePrincipal)
|
||||
, mCodebaseImmutable(false)
|
||||
|
@ -40,11 +40,6 @@ public:
|
||||
|
||||
virtual nsresult GetScriptLocation(nsACString& aStr) override;
|
||||
|
||||
/**
|
||||
* Called at startup to setup static data, e.g. about:config pref-observers.
|
||||
*/
|
||||
static void InitializeStatics();
|
||||
|
||||
static nsresult
|
||||
GenerateOriginNoSuffixFromURI(nsIURI* aURI, nsACString& aOrigin);
|
||||
|
||||
|
@ -307,7 +307,6 @@ const char* mozilla::dom::ContentPrefs::gEarlyPrefs[] = {
|
||||
"security.sandbox.logging.enabled",
|
||||
"security.sandbox.mac.track.violations",
|
||||
"security.sandbox.windows.log.stackTraceDepth",
|
||||
"signed.applets.codebase_principal_support",
|
||||
"svg.disabled",
|
||||
"svg.display-lists.hit-testing.enabled",
|
||||
"svg.display-lists.painting.enabled",
|
||||
|
@ -12,7 +12,6 @@ user_pref("dom.max_chrome_script_run_time", 0);
|
||||
user_pref("javascript.allow.mailnews", true);
|
||||
user_pref("javascript.options.showInConsole", true);
|
||||
user_pref("layout.css.report_errors", true);
|
||||
user_pref("signed.applets.codebase_principal_support", true);
|
||||
user_pref("browser.warnOnQuit", false);
|
||||
user_pref("browser.cache.check_doc_frequency", 1);
|
||||
user_pref("extensions.checkCompatibility", false);
|
||||
|
@ -36,7 +36,6 @@
|
||||
#ifdef MOZ_OLD_STYLE
|
||||
#include "mozilla/RuleProcessorCache.h"
|
||||
#endif
|
||||
#include "ContentPrincipal.h"
|
||||
#include "nsRange.h"
|
||||
#include "nsRegion.h"
|
||||
#include "nsRepeatService.h"
|
||||
@ -264,7 +263,6 @@ nsLayoutStatics::Initialize()
|
||||
nsLayoutUtils::Initialize();
|
||||
PointerEventHandler::InitializeStatics();
|
||||
TouchManager::InitializeStatics();
|
||||
ContentPrincipal::InitializeStatics();
|
||||
|
||||
nsCORSListenerProxy::Startup();
|
||||
|
||||
|
@ -2593,7 +2593,6 @@ pref("font.blacklist.underline_offset", "FangSong,Gulim,GulimChe,MingLiU,MingLiU
|
||||
|
||||
pref("security.directory", "");
|
||||
|
||||
pref("signed.applets.codebase_principal_support", false);
|
||||
// security-sensitive dialogs should delay button enabling. In milliseconds.
|
||||
pref("security.dialog_enable_delay", 1000);
|
||||
pref("security.notification_enable_delay", 500);
|
||||
|
@ -22,7 +22,6 @@ user_pref("dom.ipc.reportProcessHangs", false); // process hang monitor
|
||||
user_pref("dom.popup_maximum", -1);
|
||||
user_pref("dom.send_after_paint_to_content", true);
|
||||
user_pref("dom.successive_dialog_time_limit", 0);
|
||||
user_pref("signed.applets.codebase_principal_support", true);
|
||||
user_pref("browser.shell.checkDefaultBrowser", false);
|
||||
user_pref("shell.checkDefaultClient", false);
|
||||
user_pref("browser.warnOnQuit", false);
|
||||
|
Loading…
Reference in New Issue
Block a user