1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 10:18:15 +09:00
ladybird/Tests/LibWeb/Text/input/DOM/DOMStringMap-setter-with-invalid-name.html
2025-03-20 11:50:49 +01:00

13 lines
330 B
HTML

<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {
let threw = false;
try {
document.body.dataset["'\uDBF8"] = "foo";
} catch {
threw = true;
}
println("Setting DOMStringMap with an invalid name key throws? " + threw);
});
</script>