Update Linux release build workflow and improve package installation; add checks for window.docShell in ZenUIManager

This commit is contained in:
mr. M
2025-01-06 20:01:52 +01:00
parent 0333413505
commit 6c4af27ec6
4 changed files with 11 additions and 6 deletions

View File

@@ -16,7 +16,7 @@ jobs:
build-linux: build-linux:
permissions: permissions:
contents: write contents: write
runs-on: ${{ inputs.release-branch == 'release' && 'warp-ubuntu-latest-x64-8x' || 'ubuntu-latest' }} runs-on: ${{ matrix.arch == 'x86_64' && 'warp-ubuntu-latest-x64-8x' || 'ubuntu-latest' }}
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:

View File

@@ -3,8 +3,10 @@
set -xe set -xe
if command -v apt-get &> /dev/null; then if command -v apt-get &> /dev/null; then
sudo apt-get update sudo add-apt-repository ppa:kisak/kisak-mesa
sudo apt-get install -y xvfb sudo apt update
sudo apt upgrade
sudo apt-get install -y xvfb libnvidia-egl-wayland1 mesa-utils libgl1-mesa-dri
fi fi
ulimit -n 4096 ulimit -n 4096

View File

@@ -256,7 +256,9 @@ var gZenVerticalTabsManager = {
try { try {
this._updateMaxWidth(); this._updateMaxWidth();
window.docShell.treeOwner.QueryInterface(Ci.nsIInterfaceRequestor).getInterface(Ci.nsIAppWindow).rollupAllPopups(); if (window.docShell) {
window.docShell.treeOwner.QueryInterface(Ci.nsIInterfaceRequestor).getInterface(Ci.nsIAppWindow).rollupAllPopups();
}
const topButtons = document.getElementById('zen-sidebar-top-buttons'); const topButtons = document.getElementById('zen-sidebar-top-buttons');
const isCompactMode = this._prefsCompactMode && !forCustomizableMode; const isCompactMode = this._prefsCompactMode && !forCustomizableMode;

View File

@@ -1,14 +1,15 @@
diff --git a/testing/profiles/profileserver/user.js b/testing/profiles/profileserver/user.js diff --git a/testing/profiles/profileserver/user.js b/testing/profiles/profileserver/user.js
index 19ff7d474f6d22d2d386764e2e6942ce6a324470..62fd56e53bc1cb7b688395badc97820d97a7c767 100644 index 19ff7d474f6d22d2d386764e2e6942ce6a324470..40d1906bdebd08510014fd6124be17052248e748 100644
--- a/testing/profiles/profileserver/user.js --- a/testing/profiles/profileserver/user.js
+++ b/testing/profiles/profileserver/user.js +++ b/testing/profiles/profileserver/user.js
@@ -8,3 +8,10 @@ @@ -8,3 +8,11 @@
user_pref("dom.timeout.enable_budget_timer_throttling", false); user_pref("dom.timeout.enable_budget_timer_throttling", false);
// Turn off update // Turn off update
user_pref("app.update.disabledForTesting", true); user_pref("app.update.disabledForTesting", true);
+ +
+// zen: +// zen:
+// Disable some of zen's features to better match the default Firefox experience +// Disable some of zen's features to better match the default Firefox experience
+user_pref("zen.workspaces.enabled", false);
+user_pref("zen.welcome-screen.enabled", false); +user_pref("zen.welcome-screen.enabled", false);
+user_pref("zen.tab-unloader.enabled", false); +user_pref("zen.tab-unloader.enabled", false);
+user_pref("zen.watermark.enabled", false); +user_pref("zen.watermark.enabled", false);