Skip to content

Commit

Permalink
Nasty workaround for firefox crashing on boot.iso
Browse files Browse the repository at this point in the history
Do not start firefox in the VM for remote installations.
So far remote installations are used only for testing. Let's abuse this
and switch firefox instance in the VM with a plain sleep, to avoid the
crash. [1]

[1] https://bugzilla.redhat.com/show_bug.cgi?id=2320964
  • Loading branch information
KKoukiou committed Oct 22, 2024
1 parent 579a13f commit 95b9d35
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions webui-desktop
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,14 @@ else
sleep 3
fi

HOME="$BROWSER_HOME" MOZ_APP_TITLE="" MOZ_APP_REMOTINGNAME="liveinst" XDG_CURRENT_DESKTOP=GNOME MOZ_GTK_TITLEBAR_DECORATION=client $BROWSER http://"$WEBUI_ADDRESS""$URL_PATH" &
B_PID=$!
# FIXME: https://bugzilla.redhat.com/show_bug.cgi?id=2320964
# This is a workaround for firefox crashing the whole test run in our CI
if [[ "$WEBUI_REMOTE" == "1" ]]
then
/bin/sleep infinity &
B_PID=$!
else
HOME="$BROWSER_HOME" MOZ_APP_TITLE="" MOZ_APP_REMOTINGNAME="liveinst" XDG_CURRENT_DESKTOP=GNOME MOZ_GTK_TITLEBAR_DECORATION=client $BROWSER http://"$WEBUI_ADDRESS""$URL_PATH" &
B_PID=$!

wait $B_PID

0 comments on commit 95b9d35

Please sign in to comment.