Re: [whatwg/dom] Integrate Trusted Types enforcement into attribute handling (PR #1268)

@annevk commented on this pull request.



> @@ -7436,8 +7449,12 @@ method steps are:
  [=validate and extract|validating and extracting=] <var>namespace</var> and
  <var>qualifiedName</var> given "<code>element</code>".
 
- <li><p><a>Set an attribute value</a> for <a>this</a> using <var>localName</var>, <var>value</var>,
- and also <var>prefix</var> and <var>namespace</var>.
+ <li><p>Let <var>verifiedValue</var> be the result of calling <a abstract-op>get
+ Trusted Types-compliant attribute value</a> with <var>localName</var>, <var>namespace</var>,
+ <var>element</var>, and <var>value</var>. [[!TRUSTED-TYPES]]

This should use this indeed, but not as a variable.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/1268#discussion_r2426284200
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/pull/1268/review/3331545741@github.com>

Received on Monday, 13 October 2025 12:59:55 UTC