Files
IronFox/patches/gecko-enable-aboutinference.patch
celenity 301f29a513 IronFox v145.0
ironfox-oss/IronFox!100
____

## Changes

- Added a toggle in settings to control the [media autoplay blocking policy](https://wiki.mozilla.org/Media/block-autoplay#What_strategy_does_Firefox_use_for_blocking_autoplay?) when JIT is otherwise disabled globally *(set to `Transient` by default)*, located at `Settings` -> `IronFox` -> `IronFox settings` -> **`Media autoplay`**.
- Fixed [an issue](https://gitlab.com/ironfox-oss/IronFox/-/issues/199) that prevented certain preferences from persisting across restarts.
- Updated the default version of Rust to [`1.91.0`](https://releases.rs/docs/1.91.0/).
- Updated to Firefox [`145.0`](https://firefox.com/firefox/android/145.0/releasenotes/).
- Updated to Phoenix [`2025.11.07.1`](https://codeberg.org/celenity/Phoenix/releases/tag/2025.11.07.1).
- [Other minor tweaks and adjustments](https://gitlab.com/ironfox-oss/IronFox/-/merge_requests/100/diffs).

MR-author: celenity <celenity@celenity.dev>
Co-authored-by: LucasMZ <git@lucasmz.dev>
Co-authored-by: Akash Yadav <itsaky01@gmail.com>
Approved-by: Akash Yadav <itsaky01@gmail.com>
Merged-by: celenity <celenity@celenity.dev>
2025-11-11 18:17:55 +00:00

53 lines
2.1 KiB
Diff

diff --git a/docshell/base/nsAboutRedirector.cpp b/docshell/base/nsAboutRedirector.cpp
index 625640eef4..b47c7570ec 100644
--- a/docshell/base/nsAboutRedirector.cpp
+++ b/docshell/base/nsAboutRedirector.cpp
@@ -137,7 +137,7 @@ static const RedirEntry kRedirMap[] = {
nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT |
nsIAboutModule::URI_CAN_LOAD_IN_CHILD | nsIAboutModule::ALLOW_SCRIPT |
nsIAboutModule::HIDE_FROM_ABOUTABOUT},
-#if defined(NIGHTLY_BUILD)
+#if !defined(NIGHTLY_BUILD)
{"inference", "chrome://global/content/aboutInference.html",
nsIAboutModule::ALLOW_SCRIPT | nsIAboutModule::IS_SECURE_CHROME_UI},
#endif
diff --git a/docshell/build/components.conf b/docshell/build/components.conf
index 06f1d0a26e..fee6c36527 100644
--- a/docshell/build/components.conf
+++ b/docshell/build/components.conf
@@ -52,7 +52,7 @@ if not defined('MOZ_GLEAN_ANDROID'):
about_pages.append('glean')
if buildconfig.substs['MOZ_WIDGET_TOOLKIT'] != 'android' and buildconfig.substs['MOZ_WIDGET_TOOLKIT'] != 'windows':
about_pages.append('webauthn')
-if defined('NIGHTLY_BUILD'):
+if not defined('NIGHTLY_BUILD'):
about_pages.append('inference')
Headers = ['/docshell/build/nsDocShellModule.h']
diff --git a/toolkit/components/moz.build b/toolkit/components/moz.build
index 89be70ba12..f97e2c79a8 100644
--- a/toolkit/components/moz.build
+++ b/toolkit/components/moz.build
@@ -146,7 +146,7 @@ if CONFIG["MOZ_BACKGROUNDTASKS"]:
if CONFIG["MOZ_UNIFFI_FIXTURES"]:
DIRS += ["uniffi-bindgen-gecko-js/tests"]
-if CONFIG["NIGHTLY_BUILD"]:
+if not CONFIG["NIGHTLY_BUILD"]:
DIRS += ["aboutinference"]
UNIFIED_SOURCES += [
diff --git a/toolkit/locales/jar.mn b/toolkit/locales/jar.mn
index 207e007d2e..0536d725ef 100644
--- a/toolkit/locales/jar.mn
+++ b/toolkit/locales/jar.mn
@@ -11,7 +11,7 @@
#ifdef MOZ_LAYOUT_DEBUGGER
layoutdebug/layoutdebug.ftl (../../layout/tools/layout-debug/ui/content/layoutdebug.ftl)
#endif
-#if defined(NIGHTLY_BUILD)
+#if !defined(NIGHTLY_BUILD)
preview/aboutInference.ftl (../components/aboutinference/content/aboutInference.ftl)
#endif