Using latest develop, it breaks on browsers with Canvas protections #1387

Open
opened 2026-01-05 19:49:11 +00:00 by waltercool · 3 comments
Member

When using develop (d7b1aaa61) and some browser without Canvas permissions, it fails like this:

Screenshot_20260105_144331

Providing the specific stack-trace is not useful, as main.BseMKhd3.js has been minify'd

I can confirm it works fine in older versions like 320418d5.

--

Tests run with Falkon Browser, Canvas protections enabled.
It works fine when Canvas protections are disabled.

Expected: It should work like old versions
Current behavior: It breaks, nothing loads except error screen.

When using develop (d7b1aaa61) and some browser without Canvas permissions, it fails like this: ![Screenshot_20260105_144331](/attachments/7f7996af-7af1-400b-b546-56a02f812c80) Providing the specific stack-trace is not useful, as main.BseMKhd3.js has been minify'd I can confirm it works fine in older versions like 320418d5. -- Tests run with Falkon Browser, Canvas protections enabled. It works fine when Canvas protections are disabled. -- Expected: It should work like old versions Current behavior: It breaks, nothing loads except error screen.
Owner

PleromaFE uses canvas to generate dynamic (dot for unreads) favicon but we can add a fallback for it.

It also uses canvas to freeze gifs.

PleromaFE uses canvas to generate dynamic (dot for unreads) favicon but we can add a fallback for it. It also uses canvas to freeze gifs.
Author
Member

I would say (personally) it's even fine if there is some missing feature, but breaking entirely the client is not great for sure.

I would say (personally) it's even fine if there is some missing feature, but breaking entirely the client is not great for sure.
Owner

I agree, it just that we wouldn't think someone would disable canvas entirely, on modern browsers canvas fingerprinting is impossible by default already.

I agree, it just that we wouldn't think someone would disable canvas entirely, on modern browsers canvas fingerprinting is impossible by default already.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pleroma/pleroma-fe#1387
No description provided.