mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 02:27:19 +02:00
LibWeb: Update attribute name validation in Element.setAttribute()
This now follows the latest specification steps.
This commit is contained in:
committed by
Tim Ledbetter
parent
acf2d773d5
commit
ba641d4784
Notes:
github-actions[bot]
2025-06-19 10:02:13 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/ba641d47844 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5140 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -4,7 +4,7 @@
|
||||
test(() => {
|
||||
let threw = false;
|
||||
try {
|
||||
document.body.dataset["'\uDBF8"] = "foo";
|
||||
document.body.dataset["=foo"] = "foo";
|
||||
} catch {
|
||||
threw = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user