Security: backported fix for 1149177. #27534
Security: backported fix for chromium:1170176, chromium:961059. #27622