Neither getPropertyType() nor getAttributeType() are actually implemented as specced they both in reality use a hardcoded "map" it would be better to spec both of these as actually implemented. This will help future implementators but also help drive the point that if a new sink is added to the spec it needs adding to these maps too.
Like https://github.com/w3c/trusted-types/issues/423 but for
getPropertyType()
.Neither
getPropertyType()
norgetAttributeType()
are actually implemented as specced they both in reality use a hardcoded "map" it would be better to spec both of these as actually implemented. This will help future implementators but also help drive the point that if a new sink is added to the spec it needs adding to these maps too.