From 1964922df72cb2f41f06e477ae0b9bb6d2365077 Mon Sep 17 00:00:00 2001 From: "mr. m" <91018726+mr-cheffy@users.noreply.github.com> Date: Fri, 17 Apr 2026 00:59:38 +0200 Subject: [PATCH] no-bug: Update to Firefox `150.0` (gh-13281) --- README.md | 2 +- build/firefox-cache/l10n-last-commit-hash | 2 +- prefs/zen/gtk.yaml | 6 +- src/-prettierignore.patch | 4 +- .../base/content/browser-addons-js.patch | 2 +- .../base/content/browser-box-inc-xhtml.patch | 4 +- .../base/content/browser-commands-js.patch | 8 +- .../browser-fullScreenAndPointerLock-js.patch | 16 +- .../base/content/browser-init-js.patch | 6 +- src/browser/base/content/browser-js.patch | 12 +- .../base/content/browser-sets-js.patch | 2 +- src/browser/base/content/browser-xhtml.patch | 6 +- .../content/main-popupset-inc-xhtml.patch | 8 +- .../content/navigator-toolbox-inc-xhtml.patch | 6 +- .../base/content/nsContextMenu-sys-mjs.patch | 6 +- src/browser/base/jar-mn.patch | 4 +- .../components/BrowserGlue-sys-mjs.patch | 6 +- .../content/aboutwelcome-css.patch | 6 +- .../ui/modules/AIWindow-sys-mjs.patch | 8 +- .../modules/FeatureCallout-sys-mjs.patch | 2 +- .../CustomizableUI-sys-mjs.patch | 26 +- .../customizableui/content/panelUI-js.patch | 6 +- .../extensions/parent/ext-tabs-js.patch | 2 +- .../components/preferences/jar-mn.patch | 4 +- .../preferences/main-inc-xhtml.patch | 2 +- .../components/preferences/main-js.patch | 6 +- .../preferences/preferences-js.patch | 10 +- .../preferences/preferences-xhtml.patch | 28 +- .../preferences/sync-inc-xhtml.patch | 2 +- .../screenshots/overlay/overlay-css.patch | 2 +- .../sessionstore/SessionStore-sys-mjs.patch | 48 +- .../tabbrowser/content/drag-and-drop-js.patch | 22 +- .../tabbrowser/content/tab-js.patch | 14 +- .../tabbrowser/content/tabbrowser-js.patch | 168 +- .../tabbrowser/content/tabgroup-js.patch | 2 +- .../tabbrowser/content/tabs-js.patch | 8 +- .../urlbar/UrlbarController-sys-mjs.patch | 6 +- .../urlbar/UrlbarPrefs-sys-mjs.patch | 4 +- .../UrlbarProvidersManager-sys-mjs.patch | 4 +- .../urlbar/UrlbarUtils-sys-mjs.patch | 8 +- .../urlbar/UrlbarView-sys-mjs.patch | 8 +- .../urlbar/content/UrlbarInput-mjs.patch | 54 +- .../newtab/lib/ActivityStream-sys-mjs.patch | 4 +- .../windows/nsis/installer-nsi.patch | 4 +- src/browser/themes/linux/browser-css.patch | 24 +- .../themes/shared/browser-shared-css.patch | 13 +- src/browser/themes/shared/jar-inc-mn.patch | 4 +- .../shared/preferences/zen-preferences.css | 8 - .../shared/tabbrowser/content-area-css.patch | 10 +- .../shared/tabbrowser/ctrlTab-css.patch | 4 +- .../themes/shared/tabbrowser/tabs-css.patch | 24 +- .../themes/shared/toolbarbuttons-css.patch | 2 +- .../themes/shared/urlbar-searchbar-css.patch | 2 +- .../themes/shared/urlbarView-css.patch | 2 +- src/browser/themes/windows/browser-css.patch | 2 +- src/build/moz-build.patch | 4 +- .../moz-configure/lto-pgo-configure.patch | 4 +- .../update-programs-configure.patch | 4 +- src/build/pgo/profileserver-py.patch | 2 +- src/docshell/base/nsAboutRedirector-cpp.patch | 4 +- src/dom/base/Document-cpp.patch | 6 +- .../MediaController-webidl.patch | 8 +- .../mediacontrol/MediaController-cpp.patch | 6 +- .../mediacontrol/MediaController-h.patch | 4 +- .../mediaelement/HTMLMediaElement-cpp.patch | 6 +- src/eslint-file-globals-config-mjs.patch | 4 +- src/eslint-ignores-config-mjs.patch | 8 +- src/eslint-test-paths-config-mjs.patch | 2 +- ...low_stacking_contexts_to_be_promoted.patch | 104 + .../ff150_1_pgo_patch_for_bug-1962418.patch | 441 ----- .../ff150_2_pgo_patch_for_bug-2011620.patch | 409 ---- .../ff150_3_pgo_patch_for_bug-2014422.patch | 868 -------- .../firefox/native_macos_popovers.patch | 2 +- src/external-patches/manifest.json | 22 +- src/layout/style/nsStyleSheetService-h.patch | 4 +- .../libpref/init/StaticPrefList-yaml.patch | 4 +- src/modules/libpref/moz-build.patch | 4 +- .../style/gecko/media_features-rs.patch | 8 +- .../style/queries/feature_expression-rs.patch | 30 +- src/testing/mochitest/browser-test-js.patch | 6 +- .../widgets/browser-custom-element-mjs.patch | 2 +- src/toolkit/content/widgets/findbar-js.patch | 2 +- .../widgets/moz-toggle/moz-toggle-css.patch | 2 +- src/toolkit/content/widgets/tabbox-js.patch | 16 +- .../modules/AppConstants-sys-mjs.patch | 4 +- .../LightweightThemeConsumer-sys-mjs.patch | 4 +- src/toolkit/modules/moz-build.patch | 2 +- .../extensions/AddonManager-sys-mjs.patch | 4 +- .../extensions/content/aboutaddons-css.patch | 2 +- .../update/updater/updater-common-build.patch | 2 +- .../profile/nsToolkitProfileService-cpp.patch | 2 +- .../themes/shared/aboutReader-css.patch | 2 +- .../dist/tokens-shared-css.patch | 12 +- .../shared/in-content/common-shared-css.patch | 2 +- src/toolkit/xre/nsXREDirProvider-cpp.patch | 2 +- src/tools/lint/eslint/__init__-py.patch | 4 +- src/widget/SwipeTracker-cpp.patch | 4 +- src/widget/cocoa/VibrancyManager-mm.patch | 10 +- src/widget/cocoa/nsCocoaUtils-mm.patch | 4 +- src/widget/cocoa/nsDragService-mm.patch | 8 +- src/xpfe/appshell/AppWindow-cpp.patch | 4 +- src/zen/@types/lib.gecko.darwin.d.ts | 4 + src/zen/@types/lib.gecko.dom.d.ts | 1266 +++++++++--- src/zen/@types/lib.gecko.glean.d.ts | 1752 +++++++++++++---- src/zen/@types/lib.gecko.linux.d.ts | 6 + src/zen/@types/lib.gecko.modules.d.ts | 157 +- src/zen/@types/lib.gecko.nsresult.d.ts | 6 +- src/zen/@types/lib.gecko.services.d.ts | 3 +- src/zen/@types/lib.gecko.tweaks.d.ts | 18 +- src/zen/@types/lib.gecko.xpcom.d.ts | 692 +++---- src/zen/common/styles/zen-browser-ui.css | 2 + src/zen/glance/ZenGlanceManager.mjs | 14 +- src/zen/glance/tests/GlanceTestUtils.sys.mjs | 2 + src/zen/images/favicons/tuta.svg | 8 +- .../tests/folders/browser_folder_create.js | 1 - .../folders/browser_folder_issue_9981.js | 2 +- .../folders/browser_folder_max_subfolders.js | 10 +- .../folders/browser_folder_reset_button.js | 2 +- src/zen/tests/manifest.toml | 3 + src/zen/tests/mochitests/sandbox/browser.toml | 2 + .../browser_content_sandbox_syscalls.js | 2 +- .../sandbox/browser_content_sandbox_utils.js | 10 +- .../mochitests/sandbox/browser_profiler.toml | 1 - .../shell/browser_setDefaultPDFHandler.js | 215 +- .../shell/gtest/LimitedAccessFeatureTests.cpp | 81 +- .../shell/unit/test_linuxDesktopEntry.js | 253 +++ .../shell/unit/test_secondaryTileJs.js | 135 ++ .../shell/unit/test_writeShortcutIcon.js | 25 +- .../tests/mochitests/shell/unit/xpcshell.toml | 11 + .../tests/mochitests/tooltiptext/browser.toml | 1 + .../browser_site_control_manage_addons.js | 5 + src/zen/tests/spaces/browser_issue_10455.js | 1 + .../tests/split_view/browser_split_groups.js | 4 - .../split_view/browser_split_inset_checks.js | 6 +- .../tests/urlbar/browser_floating_urlbar.js | 4 +- src/zen/tests/welcome/browser_welcome.js | 8 +- surfer.json | 2 +- 137 files changed, 4040 insertions(+), 3385 deletions(-) create mode 100644 src/external-patches/firefox/bug_2013682_allow_stacking_contexts_to_be_promoted.patch delete mode 100644 src/external-patches/firefox/ff150_1_pgo_patch_for_bug-1962418.patch delete mode 100644 src/external-patches/firefox/ff150_2_pgo_patch_for_bug-2011620.patch delete mode 100644 src/external-patches/firefox/ff150_3_pgo_patch_for_bug-2014422.patch create mode 100644 src/zen/tests/mochitests/shell/unit/test_linuxDesktopEntry.js create mode 100644 src/zen/tests/mochitests/shell/unit/test_secondaryTileJs.js diff --git a/README.md b/README.md index fe46e784a..f92956ab3 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Zen is a firefox-based browser with the aim of pushing your productivity to a ne ### Firefox Versions - [`Release`](https://zen-browser.app/download) - Is currently built using Firefox version `149.0.2`! 🚀 -- [`Twilight`](https://zen-browser.app/download?twilight) - Is currently built using Firefox version `RC 149.0.2`! +- [`Twilight`](https://zen-browser.app/download?twilight) - Is currently built using Firefox version `RC 150.0`! ### Contributing diff --git a/build/firefox-cache/l10n-last-commit-hash b/build/firefox-cache/l10n-last-commit-hash index adafe3fc8..901736b71 100644 --- a/build/firefox-cache/l10n-last-commit-hash +++ b/build/firefox-cache/l10n-last-commit-hash @@ -1 +1 @@ -fc45ac45a16dd9312a3e678fdaef33aaa7e0e641 \ No newline at end of file +11d1ba8e182db855a1aba82796e219c2abe8c3ac \ No newline at end of file diff --git a/prefs/zen/gtk.yaml b/prefs/zen/gtk.yaml index 5fb3a41ab..c0f39dd26 100644 --- a/prefs/zen/gtk.yaml +++ b/prefs/zen/gtk.yaml @@ -4,9 +4,9 @@ # GTK-specific preferences - name: widget.gtk.rounded-bottom-corners.enabled - # Disabled for https://github.com/zen-browser/desktop/issues/6302, - # also see https://bugzilla.mozilla.org/show_bug.cgi?id=1979083 - value: false + # See https://bugzilla.mozilla.org/show_bug.cgi?id=1979083 + # and https://bugzilla.mozilla.org/show_bug.cgi?id=1994267 + value: true condition: "defined(MOZ_WIDGET_GTK)" - name: zen.widget.linux.transparency diff --git a/src/-prettierignore.patch b/src/-prettierignore.patch index a1963c31b..5f64ab634 100644 --- a/src/-prettierignore.patch +++ b/src/-prettierignore.patch @@ -1,8 +1,8 @@ diff --git a/.prettierignore b/.prettierignore -index 3e562d74d744bb703c9ebb8ea2df496feb40f48a..3285ee51c32029ce80e8b22616389bc776345da4 100644 +index 4c6d186c501f7e1b029db186d387f73d97dfed1e..81d0f7dc7f412151256c13ed93bd34d7bd872681 100644 --- a/.prettierignore +++ b/.prettierignore -@@ -1804,3 +1804,12 @@ tools/ts/test/baselines/ +@@ -1806,3 +1806,12 @@ tools/ts/test/baselines/ try_task_config.json xpcom/idl-parser/xpidl/fixtures/xpctest.d.json **/package-lock.json diff --git a/src/browser/base/content/browser-addons-js.patch b/src/browser/base/content/browser-addons-js.patch index ba8db225e..eb78c7461 100644 --- a/src/browser/base/content/browser-addons-js.patch +++ b/src/browser/base/content/browser-addons-js.patch @@ -1,5 +1,5 @@ diff --git a/browser/base/content/browser-addons.js b/browser/base/content/browser-addons.js -index 737ccf0feff4910426f7f75a20ac20ec480461dc..177ab12f9478e1ce664b7b2c66b0e2c8bca63573 100644 +index 098cf2408bc462f61fb547716754a3af832ffa1e..d062d03f7d258b66740d785cc30abe7932eaea41 100644 --- a/browser/base/content/browser-addons.js +++ b/browser/base/content/browser-addons.js @@ -1061,7 +1061,7 @@ var gXPInstallObserver = { diff --git a/src/browser/base/content/browser-box-inc-xhtml.patch b/src/browser/base/content/browser-box-inc-xhtml.patch index 7e8420c22..938d1881c 100644 --- a/src/browser/base/content/browser-box-inc-xhtml.patch +++ b/src/browser/base/content/browser-box-inc-xhtml.patch @@ -1,5 +1,5 @@ diff --git a/browser/base/content/browser-box.inc.xhtml b/browser/base/content/browser-box.inc.xhtml -index 2faed30e09511c381051bc40910a883d1d7bc10d..959fa83f647a8919641c5b852a4cb8814fca9ab5 100644 +index d58fcdf99843d110b708f3fbf9fb317787fadfcf..ba37068c52b24c6ebcb835c59b43ca2f1621a001 100644 --- a/browser/base/content/browser-box.inc.xhtml +++ b/browser/base/content/browser-box.inc.xhtml @@ -3,6 +3,9 @@ @@ -25,7 +25,7 @@ index 2faed30e09511c381051bc40910a883d1d7bc10d..959fa83f647a8919641c5b852a4cb881 +#include zen-tabbrowser-elements.inc.xhtml -