Map does not render on Tor Browser
Describe the bug
- Open https://streets.gl/ in Tor Browser.
- The UI is visible, but the map is not.
Screenshots
System information
- OS: Linux 6.6.15-amd64 #​1 SMP PREEMPT_DYNAMIC Debian 6.6.15-2 (2024-02-04) x86_64 GNU/Linux
- Browser with version: Tor Browser 13.0.12 (based on Mozilla Firefox 115.9.0esr)
Here's a log from the inspector. streets.gl_Archive [24-03-21 01-12-43].har.zip
I get the same behaviour on plain Firefox 123.0.1 on Mac OS 12.6.5
I can reproduce on Tor Browser 13.0.13, but I would think that this is a feature, not a bug. WebGL can be used to fingerprint your device, and so Tor is likely disabling it.
FWIW Tor Browser is able to render demo.f4map.com and maps.jawg.io (both of which have 3D buildings) just fine.
This looks relevant - https://gitlab.torproject.org/legacy/trac/-/issues/16005
You're right, it turns out WebGL is enabled, but only WebGL 1.0. Visiting about:support shows a large list of enabled WebGL 1.0 extensions, whereas WebGL 2.0 is empty. And sure enough, streets.gl uses WebGL 2.0. Unfortunately I wasn't able to find anything about enabling WebGL 2.0 on Tor.