forked from zotan/snowleopard
Update patches
This commit is contained in:
parent
f85264b6f2
commit
a5a3f8d3bd
|
@ -5,6 +5,7 @@ lockPref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
|
||||||
lockPref("browser.uidensity", 1);
|
lockPref("browser.uidensity", 1);
|
||||||
lockPref("browser.startup.page", 3);
|
lockPref("browser.startup.page", 3);
|
||||||
lockPref("layout.css.system-ui.enabled", false);
|
lockPref("layout.css.system-ui.enabled", false);
|
||||||
|
lockPref("privacy.fingerprintingProtection", false);
|
||||||
|
|
||||||
// Allow custom search engines
|
// Allow custom search engines
|
||||||
pref("browser.urlbar.update2.engineAliasRefresh", true); // No clue why this needs both pref and lockPref but here we are
|
pref("browser.urlbar.update2.engineAliasRefresh", true); // No clue why this needs both pref and lockPref but here we are
|
||||||
|
|
|
@ -23,33 +23,3 @@ index dac063c8a17fc..4bdd21bca9588 100644
|
||||||
} else if (!strcmp(aProperty, NS_APP_PREFS_50_DIR)) {
|
} else if (!strcmp(aProperty, NS_APP_PREFS_50_DIR)) {
|
||||||
rv = GetProfileDir(getter_AddRefs(file));
|
rv = GetProfileDir(getter_AddRefs(file));
|
||||||
if (NS_FAILED(rv)) {
|
if (NS_FAILED(rv)) {
|
||||||
diff --git a/security/sandbox/linux/broker/SandboxBrokerPolicyFactory.cpp b/security/sandbox/linux/broker/SandboxBrokerPolicyFactory.cpp
|
|
||||||
index 0e5358e68e573..83bb97ae837d3 100644
|
|
||||||
--- a/security/sandbox/linux/broker/SandboxBrokerPolicyFactory.cpp
|
|
||||||
+++ b/security/sandbox/linux/broker/SandboxBrokerPolicyFactory.cpp
|
|
||||||
@@ -696,6 +696,25 @@ void SandboxBrokerPolicyFactory::InitContentPolicy() {
|
|
||||||
|
|
||||||
// userContent.css and the extensions dir sit in the profile, which is
|
|
||||||
// normally blocked.
|
|
||||||
+
|
|
||||||
+ nsCOMPtr<nsIFile> greDir;
|
|
||||||
+ bool persistent = false;
|
|
||||||
+ rv = GetFile(NS_GRE_DIR, &persistent, getter_AddRefs(greDir));
|
|
||||||
+ if (NS_SUCCEEDED(rv)) {
|
|
||||||
+ nsCOMPtr<nsIFile> workDir;
|
|
||||||
+ rv = greDir->Clone(getter_AddRefs(workDir));
|
|
||||||
+ if (NS_SUCCEEDED(rv)) {
|
|
||||||
+ rv = workDir->AppendNative("distribution"_ns);
|
|
||||||
+ if (NS_SUCCEEDED(rv)) {
|
|
||||||
+ nsAutoCString tmpPath;
|
|
||||||
+ rv = workDir->GetNativePath(tmpPath);
|
|
||||||
+ if (NS_SUCCEEDED(rv)) {
|
|
||||||
+ policy->AddDir(rdonly, tmpPath.get());
|
|
||||||
+ }
|
|
||||||
+ }
|
|
||||||
+ }
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
nsCOMPtr<nsIFile> profileDir;
|
|
||||||
rv = NS_GetSpecialDirectory(NS_APP_USER_PROFILE_50_DIR,
|
|
||||||
getter_AddRefs(profileDir));
|
|
||||||
|
|
7
rebuild.sh
Executable file
7
rebuild.sh
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
cd ./mozilla-unified
|
||||||
|
|
||||||
|
# Build the thing
|
||||||
|
./mach build
|
Loading…
Reference in a new issue