mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 12:07:14 +02:00
LibWeb: Make document.createEvent("hashchangeevent") produce right type
This is supposed to return a HashChangeEvent, and now it does.
This commit is contained in:
Notes:
sideshowbarker
2024-07-16 23:23:26 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/0389f01cc8 Pull-request: https://github.com/SerenityOS/serenity/pull/23987 Reviewed-by: https://github.com/kalenikaliaksandr
@@ -0,0 +1,7 @@
|
||||
<script src="../include.js"></script>
|
||||
<script>
|
||||
test(() => {
|
||||
let e = document.createEvent("hashchangeevent");
|
||||
println(e);
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user