From b4563ae65b08254b10755de5dff500c4ed6b9143 Mon Sep 17 00:00:00 2001
From: "mr. m" <91018726+mr-cheffy@users.noreply.github.com>
Date: Tue, 21 Jul 2026 14:47:07 +0200
Subject: [PATCH] gh-14651: Sync upstream Firefox to version `153.0` (gh-14652)
---
README.md | 4 +-
build/firefox-cache/l10n-last-commit-hash | 2 +-
src/-stylelintrc-js.patch | 8 +-
.../base/content/browser-box-inc-xhtml.patch | 4 +-
.../base/content/navigator-toolbox-js.patch | 8 +-
.../ui/modules/AIWindow-sys-mjs.patch | 8 +-
.../extensions/parent/ext-browser-js.patch | 10 +-
.../extensions/parent/ext-tabs-js.patch | 8 +-
.../components/nova/NovaPrefs-sys-mjs.patch | 13 -
.../places/PlacesUIUtils-sys-mjs.patch | 11 +-
.../components/preferences/main-js.patch | 12 +-
.../preferences/preferences-js.patch | 14 +-
.../preferences/preferences-xhtml.patch | 10 +-
.../tabbrowser/content/tabbrowser-js.patch | 224 +-
.../UrlbarProvidersManager-sys-mjs.patch | 18 +-
.../urlbar/UrlbarResult-sys-mjs.patch | 15 -
.../urlbar/UrlbarTokenizer-sys-mjs.patch | 28 -
.../urlbar/UrlbarUtils-sys-mjs.patch | 2 +-
.../urlbar/UrlbarValueFormatter-sys-mjs.patch | 22 +-
.../urlbar/content/UrlbarInput-mjs.patch | 56 +-
.../urlbar/content/UrlbarResult-mjs.patch | 15 +
.../urlbar/content/UrlbarShared-mjs.patch | 28 +
.../UrlbarView-mjs.patch} | 16 +-
.../identity-block/identity-block-css.patch | 16 +-
src/browser/themes/shared/jar-inc-mn.patch | 7 +-
.../shared/tabbrowser/content-area-css.patch | 12 +-
.../themes/shared/tabbrowser/tabs-css.patch | 42 +-
.../themes/shared/urlbar-searchbar-css.patch | 34 +-
.../themes/shared/urlbar/variables-css.patch | 13 -
src/docshell/base/BrowsingContext-h.patch | 18 +-
.../MediaController-webidl.patch | 7 +-
src/eslint-file-globals-config-mjs.patch | 8 +-
..._urlbar_closeonwindowblur_preference.patch | 6 +-
src/layout/base/nsPresContext-h.patch | 10 +-
src/layout/generic/nsTextPaintStyle-cpp.patch | 16 +-
src/layout/style/StyleColor-cpp.patch | 36 +-
src/layout/svg/SVGImageContext-cpp.patch | 8 +-
src/layout/svg/SVGImageContext-h.patch | 25 +-
src/servo/ports/geckolib/cbindgen-toml.patch | 8 +-
.../extensions/content/aboutaddons-css.patch | 17 +-
.../dist/tokens-shared-css.patch | 12 +-
.../shared/in-content/common-shared-css.patch | 8 +-
src/zen/@types/lib.gecko.darwin.d.ts | 33 +-
src/zen/@types/lib.gecko.dom.d.ts | 881 ++++++-
src/zen/@types/lib.gecko.glean.d.ts | 874 +++++--
src/zen/@types/lib.gecko.linux.d.ts | 13 +-
src/zen/@types/lib.gecko.modules.d.ts | 147 +-
src/zen/@types/lib.gecko.nsresult.d.ts | 11 +-
src/zen/@types/lib.gecko.services.d.ts | 3 -
src/zen/@types/lib.gecko.tweaks.d.ts | 3 -
src/zen/@types/lib.gecko.win32.d.ts | 49 +-
src/zen/@types/lib.gecko.xpcom.d.ts | 2163 +++++++++--------
src/zen/@types/lib.gecko.xpidl.d.ts | 13 +-
src/zen/mods/ZenStyleSheetCache.cpp | 12 +-
src/zen/mods/ZenStyleSheetCache.h | 3 +-
src/zen/urlbar/ZenUBActionsProvider.sys.mjs | 7 +-
surfer.json | 4 +-
57 files changed, 3225 insertions(+), 1830 deletions(-)
delete mode 100644 src/browser/components/nova/NovaPrefs-sys-mjs.patch
delete mode 100644 src/browser/components/urlbar/UrlbarResult-sys-mjs.patch
delete mode 100644 src/browser/components/urlbar/UrlbarTokenizer-sys-mjs.patch
create mode 100644 src/browser/components/urlbar/content/UrlbarResult-mjs.patch
create mode 100644 src/browser/components/urlbar/content/UrlbarShared-mjs.patch
rename src/browser/components/urlbar/{UrlbarView-sys-mjs.patch => content/UrlbarView-mjs.patch} (72%)
delete mode 100644 src/browser/themes/shared/urlbar/variables-css.patch
diff --git a/README.md b/README.md
index 78c5ab935..17eea24ba 100644
--- a/README.md
+++ b/README.md
@@ -34,8 +34,8 @@ 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 `152.0.6`! 🚀
-- [`Twilight`](https://zen-browser.app/download?twilight) - Is currently built using Firefox version `RC 152.0.6`!
+- [`Release`](https://zen-browser.app/download) - Is currently built using Firefox version `153.0`! 🚀
+- [`Twilight`](https://zen-browser.app/download?twilight) - Is currently built using Firefox version `RC 153.0`!
### Contributing
diff --git a/build/firefox-cache/l10n-last-commit-hash b/build/firefox-cache/l10n-last-commit-hash
index 2c5d209bf..4e1b64816 100644
--- a/build/firefox-cache/l10n-last-commit-hash
+++ b/build/firefox-cache/l10n-last-commit-hash
@@ -1 +1 @@
-e7fbb446077536139cdd78b6a0386a97237af20f
\ No newline at end of file
+b1d3fe8f65751e6d695fa9ef94b11ad81e70dac1
\ No newline at end of file
diff --git a/src/-stylelintrc-js.patch b/src/-stylelintrc-js.patch
index 2454e3824..baadd6208 100644
--- a/src/-stylelintrc-js.patch
+++ b/src/-stylelintrc-js.patch
@@ -1,5 +1,5 @@
diff --git a/.stylelintrc.js b/.stylelintrc.js
-index 3c9fecf731126fdbf900d1bdcd3635dd31ed53ef..c3a210b8153e9699c6cbdc0d568bb72433976b2c 100644
+index b484bf6600a7e1b8ad2aed8c8b7fe5e84cc3d023..f89712e2c13dfa0bcb48e55cd3872c67f5c98dad 100644
--- a/.stylelintrc.js
+++ b/.stylelintrc.js
@@ -67,7 +67,7 @@ module.exports = {
@@ -11,9 +11,9 @@ index 3c9fecf731126fdbf900d1bdcd3635dd31ed53ef..c3a210b8153e9699c6cbdc0d568bb724
{
ignore: ["blockless-at-rules"],
},
-@@ -274,7 +274,7 @@ module.exports = {
- // Remove this line setting `csscontrols/use-logical` to null after implementing fixes
- "csstools/use-logical": null,
+@@ -280,7 +280,7 @@ module.exports = {
+ "media-query-no-invalid": null,
+ "stylelint-plugin-mozilla/media-query-no-invalid": true,
"stylelint-plugin-mozilla/no-base-design-tokens": true,
- "stylelint-plugin-mozilla/use-design-tokens": true,
+ "stylelint-plugin-mozilla/use-design-tokens": false,
diff --git a/src/browser/base/content/browser-box-inc-xhtml.patch b/src/browser/base/content/browser-box-inc-xhtml.patch
index e807e8553..a45ec45a0 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 31cd4f927c273573b38021f84417101c57377902..f293e1c61d3b7a80b7dc472d927893f0439d6af9 100644
+index 4a16fe93daeefb88af024c1dac05bc1f518c3fcb..a420768e4047937c8becefb69c1017e13fc12231 100644
--- a/browser/base/content/browser-box.inc.xhtml
+++ b/browser/base/content/browser-box.inc.xhtml
@@ -3,12 +3,22 @@
@@ -10,7 +10,7 @@ index 31cd4f927c273573b38021f84417101c57377902..f293e1c61d3b7a80b7dc472d927893f0
+
+
+
-
+