https://dom.spec.whatwg.org/commit-snapshots/26cfadd185649915bb73d147c8a7a41335cb7ab0/#constructing-events
Consider KeyboardEvent. The problem is that there are many elements in EventModifierInit (which KeyboardEventInit derives from) which are not attributes. So that's not great.
One way to try to fix this would be something like trying to invoke the constructor with the default value, instead of just setting the attributes? And then we assume that the override defined in https://w3c.github.io/uievents/#event-constructors is good enough?