From 412ce145525919951003a33078abb201f03a8af9 Mon Sep 17 00:00:00 2001
From: Domenic Denicola
Animated images will become completely available + only after all their frames are loaded. Thus, even though an implementation could decode the + first frame before that point, the above steps will not do so, instead waiting until all frames + are available.
Return promise.