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

@mbrodesser-Igalia commented on this pull request.



> +  [CEReactions, Unscopable] undefined prepend((Node or DOMString or TrustedScript)... nodes);
+  [CEReactions, Unscopable] undefined append((Node or DOMString or TrustedScript)... nodes);
+  [CEReactions, Unscopable] undefined replaceChildren((Node or DOMString or TrustedScript)... nodes);

For the record: these methods should be annotated with a note for web-developers that passed text nodes and strings are internally passed to trusted types' default policy, if needed.

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

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

Received on Monday, 26 February 2024 15:03:41 UTC