[webauthn] Port fingerprint enrollment assets to lottie
Replace the fingerprint enrollment APNGs on the webauthn fingerprint enrollment page by lottie versions. This shaves ~200kb and adds a transparent background to the fingerprint animation that partially fixes issue 1041877. Also, add "hidden" and "singleLoop" attributes to lottie to match the APNG img tag behaviour; and update the wrapper to allow dynamically loading another animation into the same element. Finally, this updates the settings UI worker CSP to allow the lottie worker. Fixed: 1082312 Change-Id: I0c92663ec6e1bfd76c03f995b6e96d210f26173f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2116557 Commit-Queue: Nina Satragno <nsatragno@chromium.org> Reviewed-by:Malay Keshav <malaykeshav@chromium.org> Reviewed-by:
dpapad <dpapad@chromium.org> Reviewed-by:
Mitsuru Oshima <oshima@chromium.org> Cr-Commit-Position: refs/heads/master@{#786933}
Showing
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
39.4 KB
21.1 KB
103 KB
This diff is collapsed.