LibWeb: Update attribute name validation in Element.setAttribute()

This now follows the latest specification steps.
This commit is contained in:
Tim Ledbetter
2025-06-19 08:47:12 +01:00
committed by Tim Ledbetter
parent acf2d773d5
commit ba641d4784
Notes: github-actions[bot] 2025-06-19 10:02:13 +00:00
7 changed files with 67 additions and 7 deletions

View File

@@ -4,7 +4,7 @@
test(() => {
let threw = false;
try {
document.body.dataset["'\uDBF8"] = "foo";
document.body.dataset["=foo"] = "foo";
} catch {
threw = true;
}