Frédéric Wang
Frédéric Wang
The mistake is also present in step 3 here: https://w3c.github.io/trusted-types/dist/spec/#abstract-opdef-get-trusted-types-compliant-attribute-value > 3. Let expectedType be the value of the third member of attributeData.
Good point, yeah reformulating expectedType's interface name for getAttributeType, and the same for getPropertyType sounds good.
@lukewarlow That said, I don't see where https://w3c.github.io/trusted-types/dist/spec/#validate-attribute-mutation is actually used ¿?
> For elementNs, the step retrieving the "element interface for localName and elementNs" is similar to step 7 of [DOM's create an element](https://dom.spec.whatwg.org/#concept-create-element). Probably this is not very explicit, but...
Right, we can close it now.
@TimvdLippe mmh, I don't know how I can do that (maybe @lukewarlow knows?). Shouldn't a forced push do that automatically?
Sorry I don't think I can relaunch the ipr check
@lukewarlow So did you get an answser to your question? I see you reverted your PR, but it is referenced on https://w3c.github.io/trusted-types/dist/spec/#integration-with-dom (will send a PR to remove the link).
cc @koto @lukewarlow