Fix a typo in error handling

This commit is contained in:
Alessandro Pignotti 2024-07-12 08:40:21 +02:00
parent 9ac854268c
commit e2085f7210

View File

@ -163,7 +163,7 @@ __ __ _ __ ____ __
"CheerpX uses SharedArrayBuffer, which is not available right now.", "CheerpX uses SharedArrayBuffer, which is not available right now.",
"", "",
!isSecureContext && " - This page is not in a secure context. Serve over HTTPS or WSS.", !isSecureContext && " - This page is not in a secure context. Serve over HTTPS or WSS.",
!isSecureContext && " " + underline + "https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts" + noral, !isSecureContext && " " + underline + "https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts" + normal,
isCustom && " - The document is not cross-origin isolated.", isCustom && " - The document is not cross-origin isolated.",
isCustom && " " + underline + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer#security_requirements" + normal, isCustom && " " + underline + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer#security_requirements" + normal,
" - Your browser might not support SharedArrayBuffer.", " - Your browser might not support SharedArrayBuffer.",