It occured to me that because HTML now defines [Reflect] (and more) IDL extended attributes that allow you to represent most (non-enum) reflection that WPT could auto generate reflection tests instead of having to write them manually.
For example, because the target IDL property has [Reflect] and a type of DOMString we should be able to generate tests that ensure interfaces that implement that mixin, do the value reflection correctly to the attribute with the same name.
It occured to me that because HTML now defines
[Reflect](and more) IDL extended attributes that allow you to represent most (non-enum) reflection that WPT could auto generate reflection tests instead of having to write them manually.For example, because the target IDL property has
[Reflect]and a type of DOMString we should be able to generate tests that ensure interfaces that implement that mixin, do the value reflection correctly to the attribute with the same name.