Re:Goodbye InnerHTML, Hello SetHTML: Stronger XSS Protection...
by croes on Tuesday February 24, 2026 @01:23PM
(#47140644)
Maybe we should add the word safe and consider everything else as unsafe
[ Parent
| on HN ]
Re:Goodbye InnerHTML, Hello SetHTML: Stronger XSS Protection...
by orf on Tuesday February 24, 2026 @02:07PM
(#47141229)
Like life, things should default to being safe. Unsafe, unexpected behaviours should be exception and thus require an exceptional name.
Legacy and backwards compatibility hampers this, but going forward…