2025-03-18 15:28:35 -03:00
|
|
|
<!DOCTYPE html>
|
2024-07-19 09:57:23 -03:00
|
|
|
<script src="../include.js"></script>
|
|
|
|
|
<script>
|
|
|
|
|
test(() => {
|
|
|
|
|
let threw = false;
|
|
|
|
|
try {
|
2025-06-19 04:47:12 -03:00
|
|
|
document.body.dataset["=foo"] = "foo";
|
2024-07-19 09:57:23 -03:00
|
|
|
} catch {
|
|
|
|
|
threw = true;
|
|
|
|
|
}
|
|
|
|
|
println("Setting DOMStringMap with an invalid name key throws? " + threw);
|
|
|
|
|
});
|
|
|
|
|
</script>
|