chore(docs): added FAQ entry for github.dev and other websites that require JIT (#465)

* Added FAQ entry for github.dev

* chore: made requested changes to documentation

---------

Co-authored-by: qoijjj <129108030+qoijjj@users.noreply.github.com>
This commit is contained in:
Celeste Peláez 🏳️‍⚧️
2024-10-18 22:03:28 -05:00
committed by GitHub
parent 0caa1fb436
commit 2fadc2dc67

4
FAQ.md
View File

@@ -148,3 +148,7 @@ There is an [upstream bug](https://discussion.fedoraproject.org/t/gdk-message-er
```
mkdir -p ~/.config/environment.d && echo "GSK_RENDERER=gl" >> ~/.config/environment.d/gsk.conf
```
### Why don't some websites that require JIT/WebAssembly work in hardened-chromium even with the V8 Optimizer toggle enabled?
This is an [upstream bug](https://issues.chromium.org/issues/373893056) that prevents V8 optimization settings from being applied to iframes embedded within a parent website. As a result, WebAssembly may not function on services that use a separate URL for their content delivery network or other included domains, such as VSCode Web (https://github.dev). To make VSCode Web work properly, you need to manually allow V8 optimizations for the CDN by adding `https://[*.]vscode-cdn.net` to your list of trusted websites.