Re: [whatwg/dom] Integration with trusted types inside of node conversion (PR #1258)

@lukewarlow commented on this pull request.



> +    <ol>
+     <li><p>Let <var>newValue</var> be a new {{Text}} <a for=/>node</a> whose
+     <a for=Node>node document</a> is <var>document</var> and <a for=CharacterData>data</a> is the
+     result of calling <a abstract-op>Get Trusted Type compliant string</a>, with {{TrustedScript}},
+     <var>document</var>'s <a>relevant global object</a>, <var>value</var>'s <a
+     for=CharacterData>data</a>, "<code>HTMLScriptElement text</code>", and "<code>script</code>".
+
+     <li><p><a for=list>Append</a> <var>newValue</var> to <var>newNodes</var>.
+    </ol>
+
+   <li>
+    <p>Otherwise, if <var>value</var> is a {{TrustedScript}}:
+
+    <ol>
+     <li><p>Let <var>newValue</var> be a new {{Text}} <a for=/>node</a> whose
+     <a for=CharacterData>data</a> is <var>value</var>'s <a for=TrustedScript>data</a>

`<a for=TrustedScript>data</a>` definitely should be linkifying but it's not. Possibly bikeshed hasn't reindexed it yet?

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

Message ID: <whatwg/dom/pull/1258/review/2005659861@github.com>

Received on Wednesday, 17 April 2024 10:19:07 UTC