streets-gl icon indicating copy to clipboard operation
streets-gl copied to clipboard

Map does not render on Tor Browser

Open contrapunctus-1 opened this issue 1 year ago • 4 comments

Describe the bug

  1. Open https://streets.gl/ in Tor Browser.
  2. The UI is visible, but the map is not.

Screenshots Screenshot from 2024-03-21 01-28-14

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

contrapunctus-1 avatar Mar 20 '24 20:03 contrapunctus-1

I get the same behaviour on plain Firefox 123.0.1 on Mac OS 12.6.5

TimGoodwyn avatar Mar 23 '24 16:03 TimGoodwyn

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.

applemayexist avatar Apr 01 '24 14:04 applemayexist

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

contrapunctus-1 avatar Apr 02 '24 04:04 contrapunctus-1

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.

applemayexist avatar Apr 02 '24 04:04 applemayexist