aboutsummaryrefslogtreecommitdiff
path: root/webAO/__tests__
AgeCommit message (Collapse)Author
4 daysRemove safeTags, decodeChat, and prepChatOsmium Sorcerer
Following the removal of innerHTML manipulation, we no longer need these sanitization functions. I've reviewed every safeTags call site to make sure the outputs don't end up anywhere unsafe, and malicious input can't malipulate DOM or execute code. These values either end up either as plain text (textContent, innerText, createTextNode, title, option) or as a URL path to request assets to the server (encoded using encodeURI). That is, if safeTags was even effective, considering all that function did was replace '<' and '>' symbols with Unicode lookalikes. Even the comment was suggesting the use of fundamentally safer functions instead of these hacks. Replace remaining uses of prepChat with unescapeChat as we still need to do the token substitution (like "<and>" to "&"). decodeChat was escaping Unicode sequences like \uXXXX, but I don't see the reason for this, AO2 Client doesn't have this feature, and considering WebSocket text frames are strictly UTF-8, we don't need these encodings.
4 daysUpdate dependencies and ECMAScript targetOsmium Sorcerer
Fix relevant breaking changes.
2026-01-01deal with this properlystonedDiscord
2026-01-01reorderstonedDiscord
2026-01-01try thisstonedDiscord
2026-01-01weird ci failstonedDiscord
2026-01-01urlstonedDiscord
2026-01-01this is stupid to test in consolestonedDiscord
2026-01-01low memory teststonedDiscord
2026-01-01pass aoml teststonedDiscord
2026-01-01test syntaxstonedDiscord
2025-09-03also do bgsstonedDiscord
2025-09-03bgurlsstonedDiscord
2025-06-26category teststonedDiscord
2025-06-26isaudio edge casesstonedDiscord
2025-06-26move setemotestonedDiscord
2025-06-26dumbass smart tvstonedDiscord
2025-06-26move testsstonedDiscord
2025-06-26simplest teststonedDiscord
2025-06-26encoding testsstonedDiscord
2024-11-20Prettified Code!stonedDiscord
2023-09-20autoformat with eslintstonedDiscord
2022-03-06Put tests into foldercaleb.mabry.15@cnu.edu