ladybird/Tests/LibWeb/Text/input/window-event-property-setter.html
Aliaksandr Kalenik 1528e9109c LibWeb: Add special handling for WindowProxy in [Replaceable] setters
Setters for Window object should consider WindowProxy wrapper by:
- Verifying `this_value` is `WindowProxy` (not `HTML::Window`)
- Defining properties on the underlying Window object instead of on
  the WindowProxy itself.
2024-02-24 08:05:55 +01:00

7 lines
142 B
HTML

<script src="include.js"></script>
<script>
test(() => {
window.event = "hello";
println(window.event);
});
</script>