[pve-devel] applied: [PATCH] fix #5063: load webgl addon in try block

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Dec 11 13:39:33 CET 2023


Am 11/12/2023 um 11:19 schrieb Dominik Csapak:
> since under certain circumstances (e.g. using safari < 16) the addon
> constructor already throws an exception, not only the loading later.
> 
> To allow falling back to the canvas renderer, move it into the try block
> after webgl detection.
> 
> This should fix the xterm.js console on iOS in chrome and other
> browsers.
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
>  xterm.js/src/main.js | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
>

applied, thanks!




More information about the pve-devel mailing list