Page 1 of 1

[Fixed] Disabling WebGL breaks lichess.org

Posted: Mon Sep 16, 2024 2:27 am
by barbaz
NoScript 11.4.38rc2
Firefox 130
new profile

STR:

1) NoScript Options > General > Trusted, un-check "webgl"

2) NoScript Options > Per-site Permissions, set lichess.org and lichess1.org Trusted (with HTTPS-only lock selected)

3) go to https://lichess.org/analysis, toggle the switch to enable Stockfish analysis ("SF 16") and play any series of moves on the chessboard until it no longer analyzes in the cloud

Expected results: Stockfish engine loads and starts to analyze locally

Actual results: Stockfish engine either gets stuck loading or the page produces an error. But there is no sign that the site is trying to use WebGL.

With NoScript 11.4.36rc1 it works as expected with WebGL disabled.

Re: (11.4.37+) Disabling WebGL breaks lichess.org

Posted: Mon Sep 16, 2024 7:16 am
by Giorgio Maone
Investigating, thanks.

Re: (11.4.37+) Disabling WebGL breaks lichess.org

Posted: Mon Sep 16, 2024 10:09 pm
by Giorgio Maone
Fixed in latest rc:

v 11.4.39rc1
============================================================
x [nscl] Correctly propagate extra arguments to shadowed
worker constructors

Re: (11.4.37+) Disabling WebGL breaks lichess.org

Posted: Mon Sep 16, 2024 10:26 pm
by barbaz
I'm unable to confirm the fix? Still seeing this issue in 11.4.39rc1

Re: (11.4.37+) Disabling WebGL breaks lichess.org

Posted: Tue Sep 17, 2024 6:43 am
by Giorgio Maone
OK, very strange thing I'm observing: if I've got the devtools panel open (ctrl+shift+K) I cannot reproduce, and the local engine works fine.

In "normal" windows it gets most of the time stuck at "Loading engine..." on the switch.

Puzzling... further investigation needed, but it's progress nonetheless (I used to have it broken on startup).

Re: (11.4.37+) Disabling WebGL breaks lichess.org

Posted: Sat Sep 21, 2024 11:22 pm
by Giorgio Maone
Should be fixed (for real this time :blush:) in latest dev build, thanks:

v 11.4.40rc1
============================================================
x [nscl] Fix patched workers failures caused by Firefox
webRequest filters disconnect() breaking on large files
(thanks barbaz for reporting)

Re: (11.4.37+) Disabling WebGL breaks lichess.org

Posted: Sat Sep 21, 2024 11:53 pm
by barbaz
Giorgio Maone wrote: Sat Sep 21, 2024 11:22 pm Should be fixed (for real this time :blush:) in latest dev build, thanks:
Is fixed in 11.4.40rc1. Thanks! Image