Rich-Harris / pancake

Experimental charting library for Svelte
MIT License
1.29k stars 61 forks source link

Some demos don't work in Tor Browser #39

Closed deklanw closed 2 years ago

deklanw commented 2 years ago

Visit https://pancake-charts.surge.sh/ using Tor Browser, disable JS by setting Security Level to safest:

image

The Atmospheric and Life expectancy examples don't work (axes are there, but no lines). The Population pyramid and Treemap do work.

It seems to me that working in this setting (Tor Browser 'Safest') is a reasonable benchmark for this type of library. For reference, all the JS-less charts here https://ffoodd.github.io/chaarts/index.html work in this setting.

deklanw commented 2 years ago

Dug into why. It seems that at that setting Tor Browser disables all SVG for security reasons. See https://github.com/freedomofpress/securedrop/issues/1574#issuecomment-279068270

In that case, I take back this being a "reasonable benchmark". Closing since this isn't practically resolvable.