mirror of
https://codeberg.org/librewolf/source.git
synced 2024-12-22 13:43:04 -05:00
Merge branch 'defuzz-107.0' into 'main'
defuzz 107.0 attempt 1 See merge request librewolf-community/browser/source!46
This commit is contained in:
commit
7a329356cb
2 changed files with 16 additions and 31 deletions
|
@ -1,8 +1,6 @@
|
||||||
diff --git a/python/mozboot/mozboot/bootstrap.py b/python/mozboot/mozboot/bootstrap.py
|
|
||||||
index 0c5ecbf..d9a6d9d 100644
|
|
||||||
--- a/python/mozboot/mozboot/bootstrap.py
|
--- a/python/mozboot/mozboot/bootstrap.py
|
||||||
+++ b/python/mozboot/mozboot/bootstrap.py
|
+++ b/python/mozboot/mozboot/bootstrap.py
|
||||||
@@ -550,10 +550,7 @@ def current_firefox_checkout(env, hg: Optional[Path] = None):
|
@@ -619,10 +619,7 @@ def current_firefox_checkout(env, hg: Op
|
||||||
break
|
break
|
||||||
path = path.parent
|
path = path.parent
|
||||||
|
|
||||||
|
@ -14,8 +12,6 @@ index 0c5ecbf..d9a6d9d 100644
|
||||||
|
|
||||||
|
|
||||||
def update_git_tools(git: Optional[Path], root_state_dir: Path):
|
def update_git_tools(git: Optional[Path], root_state_dir: Path):
|
||||||
diff --git a/python/mozversioncontrol/mozversioncontrol/__init__.py b/python/mozversioncontrol/mozversioncontrol/__init__.py
|
|
||||||
index dd31f53..6f0087a 100644
|
|
||||||
--- a/python/mozversioncontrol/mozversioncontrol/__init__.py
|
--- a/python/mozversioncontrol/mozversioncontrol/__init__.py
|
||||||
+++ b/python/mozversioncontrol/mozversioncontrol/__init__.py
|
+++ b/python/mozversioncontrol/mozversioncontrol/__init__.py
|
||||||
@@ -684,6 +684,29 @@ class GitRepository(Repository):
|
@@ -684,6 +684,29 @@ class GitRepository(Repository):
|
||||||
|
@ -48,7 +44,7 @@ index dd31f53..6f0087a 100644
|
||||||
def get_repository_object(path: Optional[Union[str, Path]], hg="hg", git="git"):
|
def get_repository_object(path: Optional[Union[str, Path]], hg="hg", git="git"):
|
||||||
"""Get a repository object for the repository at `path`.
|
"""Get a repository object for the repository at `path`.
|
||||||
If `path` is not a known VCS repository, raise an exception.
|
If `path` is not a known VCS repository, raise an exception.
|
||||||
@@ -697,7 +720,7 @@ def get_repository_object(path: Optional[Union[str, Path]], hg="hg", git="git"):
|
@@ -697,7 +720,7 @@ def get_repository_object(path: Optional
|
||||||
elif (path / ".git").exists():
|
elif (path / ".git").exists():
|
||||||
return GitRepository(path, git=git)
|
return GitRepository(path, git=git)
|
||||||
else:
|
else:
|
||||||
|
@ -57,7 +53,7 @@ index dd31f53..6f0087a 100644
|
||||||
|
|
||||||
|
|
||||||
def get_repository_from_build_config(config):
|
def get_repository_from_build_config(config):
|
||||||
@@ -721,6 +744,8 @@ def get_repository_from_build_config(config):
|
@@ -721,6 +744,8 @@ def get_repository_from_build_config(con
|
||||||
return HgRepository(Path(config.topsrcdir), hg=config.substs["HG"])
|
return HgRepository(Path(config.topsrcdir), hg=config.substs["HG"])
|
||||||
elif flavor == "git":
|
elif flavor == "git":
|
||||||
return GitRepository(Path(config.topsrcdir), git=config.substs["GIT"])
|
return GitRepository(Path(config.topsrcdir), git=config.substs["GIT"])
|
||||||
|
@ -66,12 +62,10 @@ index dd31f53..6f0087a 100644
|
||||||
else:
|
else:
|
||||||
raise MissingVCSInfo("unknown VCS_CHECKOUT_TYPE value: %s" % flavor)
|
raise MissingVCSInfo("unknown VCS_CHECKOUT_TYPE value: %s" % flavor)
|
||||||
|
|
||||||
diff --git a/third_party/python/taskcluster_taskgraph/taskgraph/util/vcs.py b/third_party/python/taskcluster_taskgraph/taskgraph/util/vcs.py
|
|
||||||
index 016578b..7525139 100644
|
|
||||||
--- a/third_party/python/taskcluster_taskgraph/taskgraph/util/vcs.py
|
--- a/third_party/python/taskcluster_taskgraph/taskgraph/util/vcs.py
|
||||||
+++ b/third_party/python/taskcluster_taskgraph/taskgraph/util/vcs.py
|
+++ b/third_party/python/taskcluster_taskgraph/taskgraph/util/vcs.py
|
||||||
@@ -168,6 +168,43 @@ class GitRepository(Repository):
|
@@ -495,6 +495,43 @@ class GitRepository(Repository):
|
||||||
self.run("checkout", ref)
|
raise
|
||||||
|
|
||||||
|
|
||||||
+class LocalRepository(Repository):
|
+class LocalRepository(Repository):
|
||||||
|
@ -114,7 +108,7 @@ index 016578b..7525139 100644
|
||||||
def get_repository(path):
|
def get_repository(path):
|
||||||
"""Get a repository object for the repository at `path`.
|
"""Get a repository object for the repository at `path`.
|
||||||
If `path` is not a known VCS repository, raise an exception.
|
If `path` is not a known VCS repository, raise an exception.
|
||||||
@@ -178,7 +215,7 @@ def get_repository(path):
|
@@ -505,7 +542,7 @@ def get_repository(path):
|
||||||
elif os.path.exists(os.path.join(path, ".git")):
|
elif os.path.exists(os.path.join(path, ".git")):
|
||||||
return GitRepository(path)
|
return GitRepository(path)
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
diff --git a/browser/components/customizableui/CustomizableUI.jsm b/browser/components/customizableui/CustomizableUI.jsm
|
|
||||||
index 30c9145..5e0eda8 100644
|
|
||||||
--- a/browser/components/customizableui/CustomizableUI.jsm
|
--- a/browser/components/customizableui/CustomizableUI.jsm
|
||||||
+++ b/browser/components/customizableui/CustomizableUI.jsm
|
+++ b/browser/components/customizableui/CustomizableUI.jsm
|
||||||
@@ -274,7 +274,6 @@ var CustomizableUIInternal = {
|
@@ -277,7 +277,6 @@ var CustomizableUIInternal = {
|
||||||
{
|
{
|
||||||
type: CustomizableUI.TYPE_TOOLBAR,
|
type: CustomizableUI.TYPE_TOOLBAR,
|
||||||
defaultPlacements: [
|
defaultPlacements: [
|
||||||
|
@ -10,7 +8,7 @@ index 30c9145..5e0eda8 100644
|
||||||
"tabbrowser-tabs",
|
"tabbrowser-tabs",
|
||||||
"new-tab-button",
|
"new-tab-button",
|
||||||
"alltabs-button",
|
"alltabs-button",
|
||||||
@@ -602,18 +601,6 @@ var CustomizableUIInternal = {
|
@@ -605,18 +604,6 @@ var CustomizableUIInternal = {
|
||||||
navbarPlacements.splice(newPosition, 0, "save-to-pocket-button");
|
navbarPlacements.splice(newPosition, 0, "save-to-pocket-button");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -29,8 +27,6 @@ index 30c9145..5e0eda8 100644
|
||||||
},
|
},
|
||||||
|
|
||||||
_updateForNewProtonVersion() {
|
_updateForNewProtonVersion() {
|
||||||
diff --git a/browser/components/firefoxview/firefoxview.html b/browser/components/firefoxview/firefoxview.html
|
|
||||||
index 2fe5208..057481b 100644
|
|
||||||
--- a/browser/components/firefoxview/firefoxview.html
|
--- a/browser/components/firefoxview/firefoxview.html
|
||||||
+++ b/browser/components/firefoxview/firefoxview.html
|
+++ b/browser/components/firefoxview/firefoxview.html
|
||||||
@@ -113,7 +113,7 @@
|
@@ -113,7 +113,7 @@
|
||||||
|
@ -51,13 +47,11 @@ index 2fe5208..057481b 100644
|
||||||
<template id="colorways-no-collection-template">
|
<template id="colorways-no-collection-template">
|
||||||
<div class="content-container">
|
<div class="content-container">
|
||||||
<div id="no-current-colorway-collection-notice" data-l10n-id="firefoxview-no-current-colorway-collection"></div>
|
<div id="no-current-colorway-collection-notice" data-l10n-id="firefoxview-no-current-colorway-collection"></div>
|
||||||
diff --git a/browser/components/firefoxview/firefoxview.mjs b/browser/components/firefoxview/firefoxview.mjs
|
|
||||||
index 520c092..c0b2669 100644
|
|
||||||
--- a/browser/components/firefoxview/firefoxview.mjs
|
--- a/browser/components/firefoxview/firefoxview.mjs
|
||||||
+++ b/browser/components/firefoxview/firefoxview.mjs
|
+++ b/browser/components/firefoxview/firefoxview.mjs
|
||||||
@@ -4,7 +4,26 @@
|
@@ -28,7 +28,26 @@ const MediaQueryDOMSorting = {
|
||||||
|
},
|
||||||
"use strict";
|
};
|
||||||
|
|
||||||
+function onPrefChange() {
|
+function onPrefChange() {
|
||||||
+ document.getElementById("tab-pickup-container").hidden =
|
+ document.getElementById("tab-pickup-container").hidden =
|
||||||
|
@ -82,15 +76,12 @@ index 520c092..c0b2669 100644
|
||||||
Services.telemetry.setEventRecordingEnabled("firefoxview", true);
|
Services.telemetry.setEventRecordingEnabled("firefoxview", true);
|
||||||
Services.telemetry.recordEvent("firefoxview", "entered", "firefoxview", null);
|
Services.telemetry.recordEvent("firefoxview", "entered", "firefoxview", null);
|
||||||
document.getElementById("recently-closed-tabs-container").onLoad();
|
document.getElementById("recently-closed-tabs-container").onLoad();
|
||||||
diff --git a/browser/components/newtab/lib/OnboardingMessageProvider.jsm b/browser/components/newtab/lib/OnboardingMessageProvider.jsm
|
|
||||||
index 616839d..f849f60 100644
|
|
||||||
--- a/browser/components/newtab/lib/OnboardingMessageProvider.jsm
|
--- a/browser/components/newtab/lib/OnboardingMessageProvider.jsm
|
||||||
+++ b/browser/components/newtab/lib/OnboardingMessageProvider.jsm
|
+++ b/browser/components/newtab/lib/OnboardingMessageProvider.jsm
|
||||||
@@ -78,56 +78,6 @@ const BASE_MESSAGES = () => [
|
@@ -82,56 +82,6 @@ const BASE_MESSAGES = () => [
|
||||||
},
|
|
||||||
trigger: { id: "protectionsPanelOpen" },
|
trigger: { id: "protectionsPanelOpen" },
|
||||||
},
|
},
|
||||||
- {
|
{
|
||||||
- id: "CFR_FIREFOX_VIEW",
|
- id: "CFR_FIREFOX_VIEW",
|
||||||
- groups: ["cfr"],
|
- groups: ["cfr"],
|
||||||
- template: "cfr_doorhanger",
|
- template: "cfr_doorhanger",
|
||||||
|
@ -140,13 +131,13 @@ index 616839d..f849f60 100644
|
||||||
- targeting:
|
- targeting:
|
||||||
- "!inMr2022Holdback && (currentDate|date - profileAgeCreated) / 86400000 >= 2 && tabsClosedCount >= 3 && 'browser.firefox-view.view-count'|preferenceValue == 0 && !'browser.newtabpage.activity-stream.asrouter.providers.cfr'|preferenceIsUserSet",
|
- "!inMr2022Holdback && (currentDate|date - profileAgeCreated) / 86400000 >= 2 && tabsClosedCount >= 3 && 'browser.firefox-view.view-count'|preferenceValue == 0 && !'browser.newtabpage.activity-stream.asrouter.providers.cfr'|preferenceIsUserSet",
|
||||||
- },
|
- },
|
||||||
{
|
- {
|
||||||
id: "FX_MR_106_UPGRADE",
|
id: "FX_MR_106_UPGRADE",
|
||||||
template: "spotlight",
|
template: "spotlight",
|
||||||
diff --git a/toolkit/components/nimbus/FeatureManifest.yaml b/toolkit/components/nimbus/FeatureManifest.yaml
|
targeting: "true",
|
||||||
--- a/toolkit/components/nimbus/FeatureManifest.yaml
|
--- a/toolkit/components/nimbus/FeatureManifest.yaml
|
||||||
+++ b/toolkit/components/nimbus/FeatureManifest.yaml
|
+++ b/toolkit/components/nimbus/FeatureManifest.yaml
|
||||||
@@ -638,10 +638,6 @@ majorRelease2022:
|
@@ -663,10 +663,6 @@ majorRelease2022:
|
||||||
type: boolean
|
type: boolean
|
||||||
fallbackPref: "browser.theme.colorway-closet"
|
fallbackPref: "browser.theme.colorway-closet"
|
||||||
description: "Whether or not to show the colorway closet modal"
|
description: "Whether or not to show the colorway closet modal"
|
||||||
|
|
Loading…
Reference in a new issue