w3c / trusted-types

A browser API to prevent DOM-Based Cross Site Scripting in modern web applications.
https://w3c.github.io/trusted-types/dist/spec/
Other
596 stars 70 forks source link

<Element-setAttributeNS.html> contains commented out test and seems to duplicate other tests #447

Open mbrodesser-Igalia opened 6 months ago

mbrodesser-Igalia commented 6 months ago

https://searchfox.org/mozilla-central/rev/c26f7461fc2a51196b7f517c7f98a1e271dc9ec0/testing/web-platform/tests/trusted-types/Element-setAttributeNS.html#21-32

There seems to be duplication with https://searchfox.org/mozilla-central/source/testing/web-platform/tests/trusted-types/block-string-assignment-to-Element-setAttributeNS.html#12-23 too.

lukewarlow commented 6 months ago

Related https://github.com/w3c/trusted-types/issues/463

lukewarlow commented 6 months ago

@otherdaniel I'd be curious if you knew what the reasoning for that test being commented out is?

Is it possible the xlink namespacing is no longer relevant?