LibWeb: Make document.createEvent("hashchangeevent") produce right type

This is supposed to return a HashChangeEvent, and now it does.
This commit is contained in:
Andreas Kling 2024-04-16 19:03:00 +02:00
commit 0389f01cc8
Notes: sideshowbarker 2024-07-16 23:23:26 +09:00
3 changed files with 9 additions and 1 deletions

View file

@ -0,0 +1,7 @@
<script src="../include.js"></script>
<script>
test(() => {
let e = document.createEvent("hashchangeevent");
println(e);
});
</script>