https://drafts.csswg.org/web-animations-1/#promise-objects Please use the WebIDL definitions: https://heycam.github.io/webidl/#es-promise-manipulation