fedibird-fe/app/javascript
ThibG d8d43a427a
Fix image uploads being random data when canvas read access is blocked (#15180)
Fixes #15178

PR #11499 introduced a way to deal with all-white canvas, but newer
Firefox versions set random data instead.

This PR detects whether canvas operations are reliable by comparing
the results on a hardcoded 2×2 pixels image, and memoizing the result.

This should be both more reliable and faster than the previous check.
2020-11-18 18:01:58 +01:00
..
fonts Redesign the landing page, mount public timeline on it (#4122) 2017-07-11 15:27:59 +02:00
images Fix keybase config serializer (#13742) 2020-05-12 15:28:29 +02:00
mastodon Fix image uploads being random data when canvas read access is blocked (#15180) 2020-11-18 18:01:58 +01:00
packs Change how CDN_HOST is passed down to make assets build reproducible (#14381) 2020-10-13 01:19:35 +02:00
styles Add interrelationship icon (#15149) 2020-11-12 17:43:12 +01:00