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

@lukewarlow commented on this pull request.



> +   <li><p>If <var>attribute</var>'s <a for=Attr>element</a> is null, then set <var>attribute</var>'s
+   <a for=Attr>value</a> to <var>verifiedValue</var>, and return.
+
+   <li><p>If <var>attribute</var>'s <a for=Attr>element</a> is not <var>originalElement</var>, then
+   return.

cc @fred-wang I know we had a discussion about whether this should throw exceptions or not, but it's been so long I cannot remember what the decisions were.

Also cc @otherdaniel for if you have opinions on the throwing vs not throwing.

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

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

Received on Tuesday, 30 September 2025 20:48:52 UTC