https://webkitgtk.org/security/WSA-2021-0005.html (cherry picked from commit 7e7a4021e87fd18b575864ad1d539825d5e4787d)