Open
Description
https://drafts.css-houdini.org/css-animationworklet-1/#dom-animationworkletglobalscope-registeranimator step 5 does:
If SameValue(prototype, StatelessAnimator)
where prototype is the .prototype
property of the constructor that was passed in, and StatelessAnimator is ... what exactly? It links to the interface definition. Does it mean the interface object? The interface prototype object? Something that has the interface prototype object on its prototype chain (i.e. checking that the passed-in thing is a subclass of StatelessAnimator
)? Something else?
I suspect it means the subclass thing, but that's totally not what it says.