mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-03 15:41:57 +00:00
Fixes a crash when setting the timestamps when creating a DOM event within a ShadowRealm.
8 lines
242 B
HTML
8 lines
242 B
HTML
<script src="../include.js"></script>
|
|
<script>
|
|
test(() => {
|
|
const shadowRealm = new ShadowRealm();
|
|
const result = shadowRealm.evaluate(`() => new Event("My DOM Event").type;`)();
|
|
println(result);
|
|
});
|
|
</script>
|