Skip to content

Commit 249dbd6

Browse files
committed
#393 don't enable offscreen by default with Firefox
1 parent 9e7b2c8 commit 249dbd6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

html5/connect.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@ <h4 class="panel-title">Advanced options</h4>
803803

804804
function update_offscreen() {
805805
const ssl_enabled = document.getElementById("ssl").checked;
806-
const offscreen = getboolparam("offscreen", XpraOffscreenWorker.isAvailable(ssl_enabled));
806+
const offscreen = getboolparam("offscreen", XpraOffscreenWorker.isAvailable(ssl_enabled) && !Utilities.isFirefox());
807807
document.getElementById("offscreen").checked = offscreen;
808808
const offscreen_available = XpraOffscreenWorker.isAvailable(ssl_enabled);
809809
const offscreen_input = document.getElementById("offscreen");

html5/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ <h2>Xpra Bug Report</h2>
650650
}
651651
const sound = getboolparam("sound", true) || null;
652652
const audio_codec = getstrparam("audio_codec") || null;
653-
const offscreen = getboolparam("offscreen", true);
653+
const offscreen = getboolparam("offscreen", XpraOffscreenWorker.isAvailable(https) && !Utilities.isFirefox());
654654
const encoding = getstrparam("encoding") || null;
655655
const bandwidth_limit = getintparam("bandwidth_limit", 0) || 0;
656656
const action = getstrparam("action") || "connect";

0 commit comments

Comments
 (0)